diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-01 02:00:23 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-01 02:00:23 -0500 |
| commit | 6521e971cdb772c53256d84a54c8d7b2d1ffa632 (patch) | |
| tree | 28af564e7a12dd629d791e815834b3782177ec0c /uitest/test.c | |
| parent | d3a19b319e8ecdf111de44ffa9847474301edcbb (diff) | |
| download | fujinet-chat-6521e971cdb772c53256d84a54c8d7b2d1ffa632.tar.gz | |
Scrollback!
Diffstat (limited to 'uitest/test.c')
| -rw-r--r-- | uitest/test.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/uitest/test.c b/uitest/test.c index 3cd3fc5..a3ae1a9 100644 --- a/uitest/test.c +++ b/uitest/test.c @@ -47,7 +47,11 @@ int main() { if(OS.ch != 0xff) { if(GTIA_READ.consol == 6) { /* start pressed */ i = cgetc(); - if(i >= '1' && i <= '7') { + if(i == 's') { + scr_scrollback(); + cgetc(); + scr_end_scrollback(); + } else if(i >= '1' && i <= '7') { if(scr_status[i - '1'] != SCR_UNUSED) scr_display(i - '1'); } else if(i == 'n') { |
