mirror of
https://github.com/tmux/tmux.git
synced 2026-06-21 17:55:21 +00:00
Use a floating pane for the buffer mode editor instead of a popup.
This commit is contained in:
3
window.c
3
window.c
@@ -390,6 +390,8 @@ window_pane_destroy_ready(struct window_pane *wp)
|
||||
*/
|
||||
if (wp->wait_item != NULL && (~wp->flags & PANE_STATUSREADY))
|
||||
return (0);
|
||||
if (wp->editor != NULL && (~wp->flags & PANE_STATUSREADY))
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
||||
|
||||
@@ -1124,6 +1126,7 @@ static void
|
||||
window_pane_destroy(struct window_pane *wp)
|
||||
{
|
||||
window_pane_wait_finish(wp);
|
||||
spawn_editor_finish(wp);
|
||||
|
||||
window_pane_reset_mode_all(wp);
|
||||
free(wp->searchstr);
|
||||
|
||||
Reference in New Issue
Block a user