Skip to content

Commit

Permalink
tame some window operations, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
mintty committed Feb 13, 2021
1 parent df5111b commit bd52109
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/termout.c
Original file line number Diff line number Diff line change
Expand Up @@ -2552,6 +2552,7 @@ do_winop(void)
win_maximise(0);
win_set_chars(rows0, cols0);
}
usleep(1000);
}
when 10:
if (term.csi_argc != 2)
Expand All @@ -2563,6 +2564,7 @@ do_winop(void)
win_maximise(-2);
else if (arg1 == 1 || arg1 == 0)
win_maximise(arg1 ? 2 : 0);
usleep(1000);
when 11: child_write(win_is_iconic() ? "\e[2t" : "\e[1t", 4);
when 13: {
int x, y;
Expand Down

0 comments on commit bd52109

Please sign in to comment.