summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-19 21:31:27 +0100
committerwm4 <wm4@nowhere>2013-12-19 21:31:27 +0100
commit25d4ae74f1dbddf99b147df0887d6810d34e36dd (patch)
tree02e0d851e5aa1a70c1e528caec1aeeb6a6620076 /osdep
parent8c7ea10873ced7c4e0344d942be4792e9d7a2801 (diff)
downloadmpv-25d4ae74f1dbddf99b147df0887d6810d34e36dd.tar.bz2
mpv-25d4ae74f1dbddf99b147df0887d6810d34e36dd.tar.xz
Rename getch2....c/h to terminal....c/h
"getch2" really tells nothing about what the heck this code does. It'd be even worse when moving the rest of terminal handling code there.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/terminal-unix.c (renamed from osdep/getch2.c)2
-rw-r--r--osdep/terminal-win.c (renamed from osdep/getch2-win.c)2
-rw-r--r--osdep/terminal.h (renamed from osdep/getch2.h)0
3 files changed, 2 insertions, 2 deletions
diff --git a/osdep/getch2.c b/osdep/terminal-unix.c
index 054b9bf63f..583ab162eb 100644
--- a/osdep/getch2.c
+++ b/osdep/terminal-unix.c
@@ -45,7 +45,7 @@
#include "bstr/bstr.h"
#include "input/input.h"
#include "input/keycodes.h"
-#include "getch2.h"
+#include "terminal.h"
#if HAVE_TERMIOS
static volatile struct termios tio_orig;
diff --git a/osdep/getch2-win.c b/osdep/terminal-win.c
index 166084d425..a56d1a409c 100644
--- a/osdep/getch2-win.c
+++ b/osdep/terminal-win.c
@@ -30,7 +30,7 @@
#include <windows.h>
#include "input/keycodes.h"
#include "input/input.h"
-#include "getch2.h"
+#include "terminal.h"
int mp_input_slave_cmd_func(int fd, char *dest, int size)
{
diff --git a/osdep/getch2.h b/osdep/terminal.h
index 76cedd9928..76cedd9928 100644
--- a/osdep/getch2.h
+++ b/osdep/terminal.h