Remove code that was already applied.

This commit is contained in:
Nicholas Marriott
2026-05-20 13:47:11 +01:00
parent c56bc9ed05
commit 1def587884

View File

@@ -1415,14 +1415,6 @@ forward_key:
}
if (c->flags & CLIENT_READONLY)
goto out;
if (wp != NULL &&
options_get_number(wp->options, "remain-on-exit") == 3 &&
(wp->flags & PANE_EXITED) &&
!KEYC_IS_MOUSE(key) && !KEYC_IS_PASTE(key)) {
options_set_number(wp->options, "remain-on-exit", 0);
server_destroy_pane(wp, 0);
goto out;
}
if (wp != NULL)
window_pane_key(wp, c, s, wl, key, m);
goto out;