diff options
author | Max Kellermann <max@duempel.org> | 2008-09-22 10:04:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-22 10:04:39 +0200 |
commit | 07632841df4ff1d8fcfac33bd93e06ee43a4498e (patch) | |
tree | cadb859c1ae63041fbc774528974283a2b1635bf /src/main.c | |
parent | d28a7d463b62412e2d075b834db20baf93dcaeba (diff) | |
download | mpd-07632841df4ff1d8fcfac33bd93e06ee43a4498e.tar.gz mpd-07632841df4ff1d8fcfac33bd93e06ee43a4498e.tar.xz mpd-07632841df4ff1d8fcfac33bd93e06ee43a4498e.zip |
screen: moved code to ncu.c
Moved basic libncurses initialization to ncu.c and ncu.h. Keep
generic code out of screen.c.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 5dac8b92b..a33643d10 100644 --- a/src/main.c +++ b/src/main.c @@ -26,6 +26,7 @@ #include "conf.h" #include "command.h" #include "lyrics.h" +#include "ncu.h" #include "screen.h" #include "screen_utils.h" #include "strfsong.h" @@ -417,7 +418,7 @@ main(int argc, const char *argv[]) exit(EXIT_FAILURE); } - ncurses_init(); + ncu_init(); lyrics_init(); @@ -452,4 +453,5 @@ main(int argc, const char *argv[]) g_io_channel_unref(keyboard_channel); exit_and_cleanup(); + ncu_deinit(); } |