git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/VTerm - Include forgotten 2D command handling
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
drv
/
vterm.c
diff --git
a/KernelLand/Kernel/drv/vterm.c
b/KernelLand/Kernel/drv/vterm.c
index
dc39cb3
..
dcd798b
100644
(file)
--- 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
break;
case PTYBUFFMT_2DCMD:
// TODO: Impliment 2D commands
+ VT_int_Handle2DCmd(term, Length, Data);
break;
case PTYBUFFMT_3DCMD:
// TODO: Impliment 3D commands
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);
tVTerm *term = Handle;
term->Mode = (Mode->OutputMode & PTYOMODE_BUFFMT);
+ memset(&term->Cmd2D, 0, sizeof(term->Cmd2D));
+
if( term == gpVT_CurTerm ) {
switch(term->Mode)
{
if( term == gpVT_CurTerm ) {
switch(term->Mode)
{
UCC
git Repository :: git.ucc.asn.au