1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Use the full screen width when printing output rather than one less.

This commit is contained in:
Nicholas Marriott 2009-08-18 11:53:03 +00:00
parent 406fc209ac
commit 1c58b94141

View File

@ -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, ' ');