summaryrefslogtreecommitdiff
path: root/extra/screen/long-term.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/screen/long-term.patch')
-rw-r--r--extra/screen/long-term.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/screen/long-term.patch b/extra/screen/long-term.patch
new file mode 100644
index 000000000..b4d6ff1f2
--- /dev/null
+++ b/extra/screen/long-term.patch
@@ -0,0 +1,24 @@
+diff -aur old/display.h new/display.h
+--- old/display.h 2014-04-16 11:38:41.000000000 -1000
++++ new/display.h 2014-04-17 16:20:36.992994397 -1000
+@@ -73,7 +73,7 @@
+ struct win *d_other; /* pointer to other window */
+ int d_nonblock; /* -1 don't block if obufmax reached */
+ /* >0: block after nonblock secs */
+- char d_termname[20 + 1]; /* $TERM */
++ char d_termname[40 + 1]; /* $TERM */
+ char *d_tentry; /* buffer for tgetstr */
+ char d_tcinited; /* termcap inited flag */
+ int d_width, d_height; /* width/height of the screen */
+diff -aur old/screen.h new/screen.h
+--- old/screen.h 2014-04-16 11:38:41.000000000 -1000
++++ new/screen.h 2014-04-17 16:20:36.992994397 -1000
+@@ -214,7 +214,7 @@
+ char preselect[20];
+ int esc; /* his new escape character unless -1 */
+ int meta_esc; /* his new meta esc character unless -1 */
+- char envterm[20 + 1]; /* terminal type */
++ char envterm[40 + 1]; /* terminal type */
+ int encoding; /* encoding of display */
+ int detachfirst; /* whether to detach remote sessions first */
+ }