1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-20 16:16:34 +00:00

Fix bottom of window scroll for VIDEX

This commit is contained in:
David Schmenk
2025-03-05 15:34:17 -08:00
parent 75927fcf6b
commit 9c9d78bd60
2 changed files with 6 additions and 1 deletions
Binary file not shown.
+6 -1
View File
@@ -99,6 +99,9 @@ byte flags
//
word kswsave, cswsave
//
// UltraTerm extended mode heights
byte[] UltraTermHeight = 24, 24, 24, 24, 32, 48, 24, 32
//
// Apple 3 console codes.
//
byte textbwmode[] = 2, 16, 0
@@ -682,7 +685,7 @@ def a2ctrl80v(code, param)#1
break
is ctrlscroll
if param == UP
cout(30); cout(' '); cout(^WNDBOTTOM + ' '); cout(10)
cout(30); cout(' '); cout(^WNDBOTTOM + ' ' - 1); cout(10)
handled = TRUE
fin
break
@@ -711,7 +714,9 @@ def a2textmode(columns)
conio:putchars = @a2putchars
if columns > 80 and columns <= 88// Check for UltraTerm modes
cout(22); cout(columns - 80 + '0')
^WNDBOTTOM = UltraTermHeight[columns - 81]
else
cout(22); cout('1') // Ensure 80x24
columns = 80
fin
fin