gsos console scroll

git-svn-id: svn://qnap.local/TwoTerm/trunk@3172 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock 2017-02-18 18:01:33 +00:00
parent 6ab42a4c82
commit f941f462fb

View File

@ -124,6 +124,12 @@ static void advance(Screen *screen, gsos_context &ctx) {
The shifted characters are moved directly to their destination location. The space vacated by the shifted characters is set to the current consFill character (see the description of consFill earlier in this chapter). Characters shifted out of the text port are removed from the screen and are not recoverable.
*/
int8_t n = fc;
if (n < 0) {
screen->scrollLeft(window, n);
}
if (n > 0) {
screen->scrollRight(window, n);
}
// .... TODO
}
@ -250,7 +256,7 @@ static void advance(Screen *screen, gsos_context &ctx) {
*/
if (_context.consDLE) {
unsigned count = (fc - 32) & 0xff;
char_info ci = remap_fill(_context);
//char_info ci = remap_fill(_context);
if (_context.consAdvance) {
while (count--) {