Use a floating pane for the buffer mode editor instead of a popup.

This commit is contained in:
nicm
2026-06-19 18:37:10 +00:00
parent c93e2f2332
commit d04b1ffca5
4 changed files with 275 additions and 11 deletions

View File

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