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 - Implemented \ec, reset settings
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
drv
/
vterm_termbuf.c
diff --git
a/KernelLand/Kernel/drv/vterm_termbuf.c
b/KernelLand/Kernel/drv/vterm_termbuf.c
index
e03302a
..
ee54385
100644
(file)
--- a/
KernelLand/Kernel/drv/vterm_termbuf.c
+++ b/
KernelLand/Kernel/drv/vterm_termbuf.c
@@
-288,7
+288,7
@@
void VT_int_ClearLine(tVTerm *Term, int Num)
* \param NewWidth New framebuffer width
* \param NewHeight New framebuffer height
*/
* \param NewWidth New framebuffer width
* \param NewHeight New framebuffer height
*/
-void VT_int_
ChangeMode(tVTerm *Term, int NewMode
, int NewWidth, int NewHeight)
+void VT_int_
Resize(tVTerm *Term
, int NewWidth, int NewHeight)
{
int oldW = Term->Width;
int oldTW = Term->TextWidth;
{
int oldW = Term->Width;
int oldTW = Term->TextWidth;
@@
-302,8
+302,6
@@
void VT_int_ChangeMode(tVTerm *Term, int NewMode, int NewWidth, int NewHeight)
if(NewWidth > giVT_RealWidth) NewWidth = giVT_RealWidth;
if(NewHeight > giVT_RealHeight) NewHeight = giVT_RealHeight;
if(NewWidth > giVT_RealWidth) NewWidth = giVT_RealWidth;
if(NewHeight > giVT_RealHeight) NewHeight = giVT_RealHeight;
- Term->Mode = NewMode;
-
// Fast exit if no resolution change
if(NewWidth == Term->Width && NewHeight == Term->Height)
return ;
// Fast exit if no resolution change
if(NewWidth == Term->Width && NewHeight == Term->Height)
return ;
@@
-362,7
+360,7
@@
void VT_int_ChangeMode(tVTerm *Term, int NewMode, int NewWidth, int NewHeight)
// Debug
#if 0
// Debug
#if 0
- switch(
New
Mode)
+ switch(
Term->
Mode)
{
case TERM_MODE_TEXT:
Log_Log("VTerm", "Set VT %p to text mode (%ix%i)",
{
case TERM_MODE_TEXT:
Log_Log("VTerm", "Set VT %p to text mode (%ix%i)",
UCC
git Repository :: git.ucc.asn.au