summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-06-19 12:09:28 -0300
committerAndrés <andmarti@gmail.com>2021-06-19 12:09:28 -0300
commit344c2ce8e6708d183f79c7a9ebb350d12ae62217 (patch)
tree5f6705cdcdf0e952a537e322030a4bfbf559d555
parentabd7b2e74b038b232058133e83429aee521d3ab0 (diff)
parentc9ad8c77086d124d4ba9f48f30c99d75a0ba951c (diff)
Merge branch 'pr584' into dev
-rw-r--r--src/tui.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/tui.c b/src/tui.c
index be0006c..17a4f58 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -403,13 +403,6 @@ void ui_update(int header) {
#endif
if (header) {
- // Clean from top to bottom
- wmove(main_win, 0, 0);
- wclrtobot(main_win);
-
- // comment this to prevent info message to be erased
- //wmove(input_win, 0, 0);
- //wclrtobot(input_win);
ui_show_celldetails(); // always before ui_print_mode
ui_print_mode();
wrefresh(input_win);
@@ -830,6 +823,9 @@ int ui_show_content(WINDOW * win, int nb_mobile_rows, int nb_mobile_cols) {
int mobile_rows = nb_mobile_rows;
int total_rows = nb_mobile_rows + sh->nb_frozen_rows;
+ wmove(win, winrow, 0);
+ wclrtobot(win);
+
for (row = 0; row < sh->maxrows && total_rows > 0; row++) {
if (sh->row_hidden[row])
continue;