From eda2300a949dbd06ccfa11bbd84adb0c6fb339cc Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Sat, 5 Feb 2011 03:19:31 -0500 Subject: [PATCH] Fix typo in cursor visibility --- terminaldisplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminaldisplay.cpp b/terminaldisplay.cpp index 57af81f..54eedc5 100644 --- a/terminaldisplay.cpp +++ b/terminaldisplay.cpp @@ -137,9 +137,9 @@ std::string Display::new_frame( Framebuffer &f ) if ( (!initialized) || (f.ds.cursor_visible != last_frame.ds.cursor_visible) ) { if ( f.ds.cursor_visible ) { - screen.append( "\033[25h" ); + screen.append( "\033[?25h" ); } else { - screen.append( "\033[25l" ); + screen.append( "\033[?25l" ); } }