|
|
@ -1628,17 +1628,13 @@ tinsertblank(int n) {
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
tinsertblankline(int n) {
|
|
|
|
tinsertblankline(int n) {
|
|
|
|
if(term.c.y < term.top || term.c.y > term.bot)
|
|
|
|
if(BETWEEN(term.c.y, term.top, term.bot))
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tscrolldown(term.c.y, n);
|
|
|
|
tscrolldown(term.c.y, n);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
tdeleteline(int n) {
|
|
|
|
tdeleteline(int n) {
|
|
|
|
if(term.c.y < term.top || term.c.y > term.bot)
|
|
|
|
if(BETWEEN(term.c.y, term.top, term.bot))
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tscrollup(term.c.y, n);
|
|
|
|
tscrollup(term.c.y, n);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|