X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=KernelLand%2FKernel%2Fdrv%2Fvterm.c;h=dcd798b301242720ed8b64957de045b0e5400833;hb=a392d810ae1d5ef9779d232f48a8b7a3bba3c1b8;hp=dc39cb30b815dcd1f8e349279d0466f9e8464ac2;hpb=5c29fcc13d3db145e00c01f88d0a584966c6bc38;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/drv/vterm.c b/KernelLand/Kernel/drv/vterm.c index dc39cb30..dcd798b3 100644 --- a/KernelLand/Kernel/drv/vterm.c +++ b/KernelLand/Kernel/drv/vterm.c @@ -381,6 +381,7 @@ void VT_PTYOutput(void *Handle, size_t Length, const void *Data) break; case PTYBUFFMT_2DCMD: // TODO: Impliment 2D commands + VT_int_Handle2DCmd(term, Length, Data); break; case PTYBUFFMT_3DCMD: // TODO: Impliment 3D commands @@ -404,6 +405,8 @@ int VT_PTYModeset(void *Handle, const struct ptymode *Mode) tVTerm *term = Handle; term->Mode = (Mode->OutputMode & PTYOMODE_BUFFMT); + memset(&term->Cmd2D, 0, sizeof(term->Cmd2D)); + if( term == gpVT_CurTerm ) { switch(term->Mode) {