X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=KernelLand%2FKernel%2Fdrv%2Fvterm_input.c;fp=KernelLand%2FKernel%2Fdrv%2Fvterm_input.c;h=20e47db053031f00cd1d901ad950731ab07d0882;hb=168af87d8fcc01a6a521f3929835f15b201b5251;hp=a037b34ce20fe2376dd041dc62bcecf94b051168;hpb=a448627c1d3d7bd7ad98c1d1251dc46492a6ef43;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/drv/vterm_input.c b/KernelLand/Kernel/drv/vterm_input.c index a037b34c..20e47db0 100644 --- a/KernelLand/Kernel/drv/vterm_input.c +++ b/KernelLand/Kernel/drv/vterm_input.c @@ -91,6 +91,8 @@ void VT_KBCallBack(Uint32 Codepoint) if(term->Mode != TERM_MODE_TEXT) break; +// Log_Debug("VTerm", "Magic Ctrl-Alt-0x%x", term->RawScancode); + switch(term->RawScancode) { // Scrolling @@ -98,6 +100,7 @@ void VT_KBCallBack(Uint32 Codepoint) if( term->Flags & VT_FLAG_ALTBUF ) return ; term->ViewPos = MAX( 0, term->ViewPos - term->Width ); + VT_int_UpdateScreen(term, 1); return; case KEYSYM_PGDN: if( term->Flags & VT_FLAG_ALTBUF ) @@ -106,6 +109,7 @@ void VT_KBCallBack(Uint32 Codepoint) term->ViewPos + term->Width, term->Width * term->Height * giVT_Scrollback ); + VT_int_UpdateScreen(term, 1); return; } break;