diff options
author | wm4 <wm4@nowhere> | 2013-12-18 15:03:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-20 21:07:57 +0100 |
commit | 4d4b82217126de3160299b3aefba1f6941623d30 (patch) | |
tree | e72cfa8070e7abfd6b5ef62176b19dd2e84e9673 /player | |
parent | a4fe95b0d8d339ba5afbdb5346ad8fd367a4a1c1 (diff) | |
download | mpv-4d4b82217126de3160299b3aefba1f6941623d30.tar.bz2 mpv-4d4b82217126de3160299b3aefba1f6941623d30.tar.xz |
terminal: abstract terminal color handling
Instead of making msg.c an ifdef hell for unix vs. windows code, move
the code to separate functions defined in terminal-unix.c/terminal-
win.c.
Drop the code that selects random colors for --msgmodule prefixes.
Diffstat (limited to 'player')
-rw-r--r-- | player/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c index a1d56df5f0..7f578a2c4b 100644 --- a/player/main.c +++ b/player/main.c @@ -264,7 +264,7 @@ static void osdep_preinit(int *p_argc, char ***p_argv) SetErrorMode(0x8003); #endif - load_termcap(NULL); // load key-codes + terminal_init(); mp_time_init(); } |