From d3e2ccb7a7c28f623318af8d1c397db8d6927c69 Mon Sep 17 00:00:00 2001 From: elfmz Date: Sat, 14 Dec 2024 14:19:43 +0300 Subject: [PATCH] VT: reset _focus_change_expected upon command completion --- far2l/src/vt/vtshell.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/far2l/src/vt/vtshell.cpp b/far2l/src/vt/vtshell.cpp index 7bc304334..88d7c6ee3 100644 --- a/far2l/src/vt/vtshell.cpp +++ b/far2l/src/vt/vtshell.cpp @@ -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; @@ -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();