Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set FAR2L_NOEXTKB env var to 1 to disable extended kb input (winterm iterm2, kitty) #2322

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions WinPort/src/Backend/TTY/TTYOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,11 @@ TTYOutput::TTYOutput(int out, bool far2l_tty, bool norgb)
#endif

Format(ESC "7" ESC "[?47h" ESC "[?1049h" ESC "[?2004h");
Format(ESC "[?9001h"); // win32-input-mode on
Format(ESC "[?1337h"); // iTerm2 input mode on
Format(ESC "[=15;1u"); // kovidgoyal's kitty mode on
if (!getenv("FAR2L_NOEXTKB")) {
Format(ESC "[?9001h"); // win32-input-mode on
Format(ESC "[?1337h"); // iTerm2 input mode on
Format(ESC "[=15;1u"); // kovidgoyal's kitty mode on
}
ChangeKeypad(true);
ChangeMouse(true);

Expand Down