Add -C flag to command-prompt to match display-message -C (do not freeze

panes). From Barrett Ruth in GitHub issue 4978.
This commit is contained in:
nicm
2026-04-13 09:33:09 +00:00
parent 4b0ff07bcb
commit 147521b757
4 changed files with 10 additions and 4 deletions

View File

@@ -728,7 +728,7 @@ status_prompt_set(struct client *c, struct cmd_find_state *fs,
c->prompt_type = prompt_type;
c->prompt_mode = PROMPT_ENTRY;
if (~flags & PROMPT_INCREMENTAL)
if ((~flags & PROMPT_INCREMENTAL) && (~flags & PROMPT_NOFREEZE))
c->tty.flags |= TTY_FREEZE;
c->flags |= CLIENT_REDRAWSTATUS;