From 5954c0d2fe398213b29a8b4aa60340d49bf9946e Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 2 Feb 2015 21:27:58 +0000 Subject: Readline osx compatibility --- src/ui/core.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui/core.c') diff --git a/src/ui/core.c b/src/ui/core.c index 47aa9d10..d6b45bde 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -94,6 +94,10 @@ ui_init(void) { log_info("Initialising UI"); initscr(); + nonl(); + cbreak(); + noecho(); + leaveok(stdscr, FALSE); keypad(stdscr, TRUE); if (prefs_get_boolean(PREF_MOUSE)) { mousemask(ALL_MOUSE_EVENTS, NULL); -- cgit 1.4.1-2-gfad0