summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a69a33f)
raw | patch | inline | side by side (parent: a69a33f)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 19 Oct 2011 20:53:06 +0000 (22:53 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 19 Oct 2011 20:53:06 +0000 (22:53 +0200) |
Of course only if we don't need the cursor.
src/screen.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index af8a19a958c8dd59dc3531867380fa7b01d9626b..4d897581e5ea86138155dfe96eca7d175f329bc7 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
/* create main window */
window_init(&screen.main_window, screen.rows - 4, screen.cols, 2, 0);
- // leaveok(screen.main_window.w, TRUE); temporary disabled
+ if (!options.hardware_cursor)
+ leaveok(screen.main_window.w, TRUE);
+
keypad(screen.main_window.w, TRUE);
/* create progress window */