Use TERM env var / terminfo to decide whether to send ECH. Fixes tmux bug.

Closes #28 github issue.
This commit is contained in:
Keith Winstein
2012-03-10 05:41:03 -05:00
parent ac16f9127c
commit b8457dd308
13 changed files with 114 additions and 23 deletions
+2
View File
@@ -42,6 +42,7 @@ private:
Terminal::Framebuffer *local_framebuffer;
Overlay::OverlayManager overlays;
Network::Transport< Network::UserStream, Terminal::Complete > *network;
Terminal::Display display;
bool repaint_requested, quit_sequence_started;
@@ -61,6 +62,7 @@ public:
local_framebuffer( NULL ),
overlays(),
network( NULL ),
display( true ), /* use TERM environment var to initialize display */
repaint_requested( false ),
quit_sequence_started( false )
{