diff options
author | Jessica McKellar <jesstess@mit.edu> | 2010-11-10 21:34:59 -0500 |
---|---|---|
committer | Jessica McKellar <jesstess@mit.edu> | 2010-11-12 21:04:10 -0500 |
commit | 35e7eb23b3a7bc9ae79f7f8a91a0f714b398c135 (patch) | |
tree | 2dbaee0ddd22e253794860a7489c82b8d74f8615 /src/screen.h | |
parent | c1aa031d9354f6b1a4212b0ac9178411dc6477f9 (diff) | |
download | screen-35e7eb23b3a7bc9ae79f7f8a91a0f714b398c135.tar.gz |
Increase the maximum allowed TERM length (to 30, in MAXTERMLEN).jesstess-screen
This change allows in particular rxvt-unicode-256color users to use
screen, and resolves bug #30880.
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index 73c17ba..34d8d9e 100644 --- a/src/screen.h +++ b/src/screen.h @@ -214,7 +214,7 @@ struct msg 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[MAXTERMLEN + 1]; /* terminal type */ int encoding; /* encoding of display */ int detachfirst; /* whether to detach remote sessions first */ } |