diff --git a/src/screen.c b/src/screen.c
index af8a19a958c8dd59dc3531867380fa7b01d9626b..315306061b66f86d2d3d9a6826f32cba224c2b12 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
{
if (COLS<SCREEN_MIN_COLS || LINES<SCREEN_MIN_ROWS) {
screen_exit();
- fprintf(stderr, "%s", _("Error: Screen too small"));
+ fprintf(stderr, "%s\n", _("Error: Screen too small"));
exit(EXIT_FAILURE);
}
/* 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 */