mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fixed move-cursor-left bug in vgaterminal.
This commit is contained in:
parent
9ee93082c5
commit
47c44caa8d
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ namespace Sortix
|
||||||
case 'D':
|
case 'D':
|
||||||
{
|
{
|
||||||
nat dist = ( 0 < ansiusedparams ) ? ansiparams[0] : 1;
|
nat dist = ( 0 < ansiusedparams ) ? ansiparams[0] : 1;
|
||||||
if ( column < dist ) { line = 0; } else { column -= dist; }
|
if ( column < dist ) { column = 0; } else { column -= dist; }
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Move to beginning of line N lines down.
|
// Move to beginning of line N lines down.
|
||||||
|
|
Loading…
Add table
Reference in a new issue