aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-18 21:20:54 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:37 -0700
commit0f039be066a444f163251968202170a7bac86fa7 (patch)
tree8fa5a2b2be02a3377dcda237921b69e4569b106c
parent1d57e4b1eb5b5ec2c93784cb48705ab5c4f14419 (diff)
downloadsyslinux-0f039be066a444f163251968202170a7bac86fa7.tar.gz
syslinux-0f039be066a444f163251968202170a7bac86fa7.tar.xz
syslinux-0f039be066a444f163251968202170a7bac86fa7.zip
cmenu: implement scrollup using SU escape sequence
Use the ANSI SU - Scroll Up escape sequence to scrollup the window. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
-rw-r--r--com32/cmenu/libmenu/com32io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/cmenu/libmenu/com32io.h b/com32/cmenu/libmenu/com32io.h
index 55d01896..1d27cfb3 100644
--- a/com32/cmenu/libmenu/com32io.h
+++ b/com32/cmenu/libmenu/com32io.h
@@ -95,7 +95,7 @@ void scrollupwindow(char top, char left, char bot, char right, char attr, char n
static inline void scrollup(void) //Scroll up display screen by one line
{
- scrollupwindow(0, 0, getnumrows(), getnumcols(), 0x07, 1);
+ printf(CSI "S");
}
void setvideomode(char mode); // Set the video mode.