summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-08-18 11:53:03 +0000
committernicm <nicm@openbsd.org>2009-08-18 11:53:03 +0000
commita8feb57790d5a24c0236a2faacf0ffa3e7e073f4 (patch)
treee1f9efe609c63c39555f11fbe16b1ac33d0b31b8
parentNuke unnecessary assignment. (diff)
downloadwireguard-openbsd-a8feb57790d5a24c0236a2faacf0ffa3e7e073f4.tar.xz
wireguard-openbsd-a8feb57790d5a24c0236a2faacf0ffa3e7e073f4.zip
Use the full screen width when printing output rather than one less.
-rw-r--r--usr.bin/tmux/window-more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-more.c b/usr.bin/tmux/window-more.c
index f638faf1696..bcb5a7b2894 100644
--- a/usr.bin/tmux/window-more.c
+++ b/usr.bin/tmux/window-more.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-more.c,v 1.7 2009/08/05 16:26:38 nicm Exp $ */
+/* $OpenBSD: window-more.c,v 1.8 2009/08/18 11:53:03 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -188,7 +188,7 @@ window_more_write_line(
if (data->top + py < ARRAY_LENGTH(&data->list)) {
msg = ARRAY_ITEM(&data->list, data->top + py);
screen_write_nputs(
- ctx, screen_size_x(s) - 1 - size, &gc, utf8flag, "%s", msg);
+ ctx, screen_size_x(s) - size, &gc, utf8flag, "%s", msg);
}
while (s->cx < screen_size_x(s) - size)
screen_write_putc(ctx, &gc, ' ');