Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created September 20, 2012 13:07
Show Gist options
  • Select an option

  • Save saitoha/3755790 to your computer and use it in GitHub Desktop.

Select an option

Save saitoha/3755790 to your computer and use it in GitHub Desktop.
Disable changing terminal mode to VT class 1.
diff --git a/tty.c b/tty.c
index 68d130c..12d79be 100644
--- a/tty.c
+++ b/tty.c
@@ -289,9 +289,6 @@ tty_stop_tty(struct tty *tty)
tty_raw(tty, "\033[?1000l");
tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));
-
- if (tty->xterm_version > 270)
- tty_raw(tty, "\033[61;1\"p");
}
void
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment