diff options
author | 2013-01-27 20:37:09 -0500 | |
---|---|---|
committer | 2013-03-10 15:46:38 -0400 | |
commit | 03217ddb5a2133698de0d38a10f8cfd879b9be0b (patch) | |
tree | 9bb3add3dab9ca9de139f7dcb4e28f02af73f9ad /src/terminal/terminal.cc | |
parent | ba8d013609b5ce9e78f7ff2bd3780b7f3f63be2f (diff) |
Move Emulator::{open,close} to Display
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Diffstat (limited to 'src/terminal/terminal.cc')
-rw-r--r-- | src/terminal/terminal.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/terminal/terminal.cc b/src/terminal/terminal.cc index 1dfc3df..2dfa144 100644 --- a/src/terminal/terminal.cc +++ b/src/terminal/terminal.cc @@ -163,17 +163,6 @@ void Emulator::Esc_dispatch( const Parser::Esc_Dispatch *act ) } } -std::string Emulator::open( void ) -{ - char appmode[ 6 ] = { 0x1b, '[', '?', '1', 'h', 0 }; - return std::string( appmode ); -} - -std::string Emulator::close( void ) -{ - return std::string( "\033[?1l\033[0m\033[?25h" ); -} - void Emulator::resize( size_t s_width, size_t s_height ) { fb.resize( s_width, s_height ); |