diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-08 23:43:13 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-08 23:43:13 +0000 |
commit | 916c3fb0040ff697e2abfe3791e89512499f8ccb (patch) | |
tree | 39c1689ffed8e89100a25045329e999751b874bc /term.c | |
parent | 91f215a78c28986a12f4cd9d5e03ffea17b3363e (diff) |
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.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |