projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d57e4b
)
cmenu: implement scrollup using SU escape sequence
author
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Wed, 19 Aug 2009 04:20:54 +0000
(21:20 -0700)
committer
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Tue, 1 Sep 2009 18:43:37 +0000
(11:43 -0700)
Use the ANSI SU - Scroll Up escape sequence to scrollup the window.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/cmenu/libmenu/com32io.h
patch
|
blob
|
history
diff --git
a/com32/cmenu/libmenu/com32io.h
b/com32/cmenu/libmenu/com32io.h
index
55d0189
..
1d27cfb
100644
(file)
--- 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.