From 916c3fb0040ff697e2abfe3791e89512499f8ccb Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 8 Oct 2006 23:43:13 +0000 Subject: fbcon target: let the kernel do the key mapping for us... this made it easy to fix vc switching and window resizing, so i'm fixing those in the same commit as well. --- term.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'term.c') diff --git a/term.c b/term.c index cf57560..3cce287 100644 --- a/term.c +++ b/term.c @@ -486,6 +486,8 @@ void uuterm_replace_buffer(struct uuterm *t, int w, int h, void *buf) rows[i]->x2 = w-1; } + if (t->sr_y2 == t->h-1) t->sr_y2 = h-1; + t->w = w; t->h = h; t->rows = rows; -- cgit v1.2.3