mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 02:23:15 +01:00
Use the full screen width when printing output rather than one less.
This commit is contained in:
parent
406fc209ac
commit
1c58b94141
@ -188,7 +188,7 @@ window_more_write_line(
|
|||||||
if (data->top + py < ARRAY_LENGTH(&data->list)) {
|
if (data->top + py < ARRAY_LENGTH(&data->list)) {
|
||||||
msg = ARRAY_ITEM(&data->list, data->top + py);
|
msg = ARRAY_ITEM(&data->list, data->top + py);
|
||||||
screen_write_nputs(
|
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)
|
while (s->cx < screen_size_x(s) - size)
|
||||||
screen_write_putc(ctx, &gc, ' ');
|
screen_write_putc(ctx, &gc, ' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user