Use Select signal handling in mosh-{client,server}

This commit is contained in:
Keegan McAllister
2012-05-05 05:36:59 -04:00
committed by Keith Winstein
parent 1d0b16881c
commit 4f23326a92
3 changed files with 30 additions and 60 deletions
-2
View File
@@ -36,7 +36,6 @@ private:
struct termios saved_termios, raw_termios;
int signal_fd;
struct winsize window_size;
Terminal::Framebuffer *local_framebuffer, *new_state;
@@ -65,7 +64,6 @@ public:
STMClient( const char *s_ip, int s_port, const char *s_key, const char *predict_mode )
: ip( s_ip ), port( s_port ), key( s_key ),
saved_termios(), raw_termios(),
signal_fd(),
window_size(),
local_framebuffer( NULL ),
new_state( NULL ),