CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/06/25 05:39:12

Modified files:
        usr.bin/tmux   : Makefile cfg.c cmd-command-prompt.c 
                         cmd-display-panes.c cmd-show-prompt-history.c 
                         key-bindings.c mode-tree.c options-table.c 
                         screen-redraw.c server-client.c server.c 
                         status.c tmux.1 tmux.h window-customize.c 
                         window-tree.c window.c 
Added files:
        usr.bin/tmux   : prompt-history.c prompt.c 

Log message:
Major rework of prompts. The basic prompt mechanics (draw, editing, etc)
are now wrapped up in prompt*.c and do not depend on a client. These
functions are used to provide the original client prompt but also to
allow panes to have their own prompts, which works much much better for
floating panes. The mode prompts for both the tree modes and copy mode
are switched over to be per pane.

There are some visible changes (some of these may be changed if they
don't seem to be working well):

- Prompts in modes now appear in the bottom line, covering whatever
content was there.

- command-prompt has a -P flag to open a pane prompt.

- Because they cover the content, the default style for prompts in modes
now does not fill the entire line; the main command prompt stays the
same.

- The old completion menu has gone, and completions are now shown after
the text. Builtin aliases are no longer completed.

- Clicking the mouse on the prompt now moves the cursor or selects a
completion.

Reply via email to