diff options
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/9term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 82ee2c2b..686f3aa2 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -179,7 +179,7 @@ resizethread(void *v) sysfatal("can't reattach to window"); p = stringsize(display->defaultfont, "0"); if(p.x && p.y) - updatewinsize(Dy(screen->r)/p.y, Dx(screen->r)/p.x, + updatewinsize(Dy(screen->r)/p.y, (Dx(screen->r)-Scrollwid-2)/p.x, Dx(screen->r), Dy(screen->r)); wresize(w, screen, 0); flushimage(display, 1); |