Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created September 29, 2012 00:47
Show Gist options
  • Select an option

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

Select an option

Save saitoha/3802774 to your computer and use it in GitHub Desktop.
MinEd / Fix for tmux
diff -ruN a/src/mined1.c b/src/mined1.c
--- a/src/mined1.c 2012-09-28 23:43:29.000000000 +0900
+++ b/src/mined1.c 2012-09-29 09:45:00.000000000 +0900
@@ -2481,8 +2481,6 @@
acquire_device_attributes ();
if (terminal_type == 'S') { /* screen */
screen_version = terminal_version / 100;
- } else if (strisprefix ("screen", TERM)) {
- screen_version = 1;
}
if (screen_version > 0) {
/* check host terminal;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment