mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 10:25:37 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue