diff options
author | Andrés <andmarti@gmail.com> | 2022-10-03 18:34:54 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2022-10-03 18:34:54 -0300 |
commit | 83dade4dcfeae34d2fc7005e0bd999a0b8de6872 (patch) | |
tree | 6803b1f140bc9a97bda030aed619c2d2c1b30afc | |
parent | 51439e8de3aedcae8a7e8c44454e7b2fe8b0df70 (diff) |
Avoid reentering ':' in inputpad when refreshing
-rw-r--r-- | src/tui.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -582,6 +582,7 @@ void ui_show_header() { case EDIT_MODE: mvwprintw(input_pad, 0, 1, "%ls", inputline); wmove(input_pad, 0, inputline_pos + 1); + break; } int scroll = 0; if (inputline_pos > COLS - 14) scroll += inputline_pos - COLS + 14; @@ -670,8 +671,8 @@ void ui_print_mode() { ui_set_ucolor(input_win, &ucolors[INPUT], DEFAULT_COLOR); #endif // show ':' - mvwprintw(input_pad, 0, 0, ":"); - wmove(input_pad, 0, 1); + //mvwprintw(input_pad, 0, 0, ":"); + //wmove(input_pad, 0, 1); } return; |