mirror of
https://github.com/tmux/tmux.git
synced 2026-10-16 16:44:30 +00:00
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master: Clear stale pane references correctly when respawning windows, GitHub issue 5757 from Alejandro Pacheco. Add a timeout for fuzzy matching, also some general tidying up. Don't bother working out width for fuzzy match without positions since it is not needed.
This commit is contained in:
3
spawn.c
3
spawn.c
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: spawn.c,v 1.57 2026/10/08 07:50:05 nicm Exp $ */
|
||||
/* $OpenBSD: spawn.c,v 1.58 2026/10/16 14:26:08 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -140,6 +140,7 @@ spawn_window(struct spawn_context *sc, char **cause)
|
||||
}
|
||||
}
|
||||
|
||||
window_unzoom(w, 1);
|
||||
sc->wp0 = TAILQ_FIRST(&w->panes);
|
||||
TAILQ_REMOVE(&w->panes, sc->wp0, entry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user