Skip to content

Commit

Permalink
VT: reset _focus_change_expected upon command completion
Browse files Browse the repository at this point in the history
  • Loading branch information
elfmz authored Dec 14, 2024
1 parent 510d930 commit d3e2ccb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions far2l/src/vt/vtshell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@ class VTShell : VTOutputReader::IProcessor, VTInputReader::IProcessor, IVTShell
_vta.OnStop();
_allow_osc_clipset = false;
_bracketed_paste_expected = false;
_focus_change_expected = false;
DeliverPendingWindowInfo();
if (_console_kill_requested) {
_console_kill_requested = false;
Expand All @@ -1106,6 +1107,7 @@ class VTShell : VTOutputReader::IProcessor, VTInputReader::IProcessor, IVTShell
// terminal if application that used them exited abnormally
_bracketed_paste_expected = false;
_win32_input_mode_expected = false;
_focus_change_expected = false;
_kitty_kb_flags = 0;
_mouse_expectations = 0;
_far2l_exts.reset();
Expand Down

0 comments on commit d3e2ccb

Please sign in to comment.