fix(ui): stop status bar / chat bleed-through over the external editor #131
@@ -311,7 +311,10 @@ inp_get_line(void)
|
||||
werase(inp_win);
|
||||
wmove(inp_win, 0, 0);
|
||||
_inp_win_update_virtual();
|
||||
doupdate();
|
||||
// Don't write to the terminal while suspended (external editor active).
|
||||
if (!is_suspended && !isendwin()) {
|
||||
doupdate();
|
||||
}
|
||||
char* line = NULL;
|
||||
while (!line) {
|
||||
line = inp_readline();
|
||||
@@ -338,7 +341,10 @@ inp_get_password(void)
|
||||
werase(inp_win);
|
||||
wmove(inp_win, 0, 0);
|
||||
_inp_win_update_virtual();
|
||||
doupdate();
|
||||
// Don't write to the terminal while suspended (external editor active).
|
||||
if (!is_suspended && !isendwin()) {
|
||||
doupdate();
|
||||
}
|
||||
char* password = NULL;
|
||||
get_password = TRUE;
|
||||
while (!password) {
|
||||
|
||||
Reference in New Issue
Block a user