Skip to content

Commit f773012

Browse files
committed
Clear ruled lines on hard terminal reset. Fixes #548.
1 parent 8e97742 commit f773012

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

kermit/k95/ckoco3.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11291,6 +11291,11 @@ doreset(int x) { /* x = 0 (soft), nonzero (hard) */
1129111291
if ( !VscrnIsClear(VTERM, p)) {
1129211292
clrpage(VTERM,SP,p);
1129311293
}
11294+
#ifdef KUI
11295+
/* Erase ruled lines - these are normally perserved when the
11296+
* screen is cleared */
11297+
decerlbra_escape(1, 1, tt_cols[VTERM], tt_rows[VTERM]);
11298+
#endif /* KUI */
1129411299
}
1129511300
lgotoxy(VTERM,1,1); /* and home the cursor */
1129611301
}

0 commit comments

Comments
 (0)