mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 08:33:17 +01:00
Don't hang when clearing line in choose mode now that the cursor stays
at the end with wrap.
This commit is contained in:
parent
db66d85176
commit
2f5fa4ee9d
@ -753,7 +753,7 @@ window_choose_write_line(
|
||||
(item->wcd->type & TREE_SESSION) ?
|
||||
(item->state & TREE_EXPANDED ? "-" : "+") : "", item->name);
|
||||
}
|
||||
while (s->cx < screen_size_x(s))
|
||||
while (s->cx < screen_size_x(s) - 1)
|
||||
screen_write_putc(ctx, &gc, ' ');
|
||||
|
||||
if (data->input_type != WINDOW_CHOOSE_NORMAL) {
|
||||
|
Loading…
Reference in New Issue
Block a user