From e91da2bd43e46fa6f2560878aad35f36fcd7e89c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 30 Nov 2015 13:35:15 +0000 Subject: [PATCH] Try to just reset the scroll region to workaround #469 --- src/ncurses_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 432f4700..97dadc1f 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -439,7 +439,7 @@ void NCursesUI::check_resize(bool force) m_dimensions = CharCoord{ws.ws_row-1, ws.ws_col}; if (char* csr = tigetstr((char*)"csr")) - putp(tparm(csr, (long)0, (long)ws.ws_row)); + putp(tparm(csr)); if (menu) {