diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-09-24 14:15:16 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-09-24 14:15:16 +0000 |
| commit | 50da2881dee3d9fe799403a5b55cf256a2d843e5 (patch) | |
| tree | 8fb6b91d39dc0be06be3d5a5545739a80fc3dad4 /lib | |
| parent | 5a8420c53e1ee42d93cbf43d9b011749f8d8140f (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libcurses/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/tty.c b/lib/libcurses/tty.c index 652553927755c..47826ba0e7f12 100644 --- a/lib/libcurses/tty.c +++ b/lib/libcurses/tty.c @@ -229,7 +229,7 @@ __startwin() tputs(TI, 0, __cputchar); tputs(VS, 0, __cputchar); if (curscr != NULL && __usecs) - __set_scroll_region(0, curscr->maxx - 1, 0, 0); + __set_scroll_region(0, curscr->maxy - 1, 0, 0); } void @@ -258,8 +258,8 @@ endwin() curscr->flags &= ~__WSTANDOUT; } if (__usecs) - __set_scroll_region(0, curscr->maxx - 1, 0, 0); - __mvcur(curscr->cury, curscr->cury, curscr->maxy - 1, 0, 0); + __set_scroll_region(0, curscr->maxy - 1, 0, 0); + __mvcur(curscr->curx, curscr->cury, curscr->maxy - 1, 0, 0); } (void)tputs(VE, 0, __cputchar); |
