mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[terminal] Workaround for infinite loop triggered by -remote openURL(URL, new-window)
This commit is contained in:
parent
5e55f1981c
commit
b9a648059b
@ -68,10 +68,15 @@ redraw_terminal_cls(struct terminal *term)
|
||||
void
|
||||
cls_redraw_all_terminals(void)
|
||||
{
|
||||
static int in_redraw;
|
||||
struct terminal *term;
|
||||
|
||||
if (in_redraw) return;
|
||||
|
||||
in_redraw = 1;
|
||||
foreach (term, terminals)
|
||||
redraw_terminal_cls(term);
|
||||
in_redraw = 0;
|
||||
}
|
||||
|
||||
/** Get the terminal in which message boxes should be displayed, if
|
||||
|
Loading…
x
Reference in New Issue
Block a user