summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-display-menu.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Drop support for popups where the content is provided directly to tmuxnicm2021-03-021-33/+28
| | | | | | (which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
* Fix check for vertical centre.nicm2020-11-261-2/+2
|
* Expand menu and popup -x and -y as a format, from teo_paul1 at yahoo dotnicm2020-11-031-88/+170
| | | | com in GitHub issue 2442.
* Add a -O flag to display-menu to change the mouse behaviour and notnicm2020-10-301-3/+5
| | | | | close the menu when the mouse is released, from teo_paul1 at yahoo dot com.
* Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-161-2/+2
|
* Make client -c and -t handling common in cmd-queue.c and try to benicm2020-04-131-50/+49
| | | | | clearer about whether the client is the target client (must have a session) or not.
* Move cmdq_state into cmd-queue.c.nicm2020-04-131-8/+8
|
* Rename cmdq_shared to cmdq_state which will better reflect what it isnicm2020-04-131-8/+8
| | | | (going to be) used for.
* Store a key event not a mouse event in the shared data.nicm2020-04-131-10/+12
|
* Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm2020-04-131-24/+23
| | | | use more clearly defined and preparation for some future work).
* Make struct cmd local to cmd.c and move it out of tmux.h.nicm2020-04-131-3/+3
|
* Pass the cmd item to format expansion so that mouse formats work.nicm2020-04-081-4/+4
|
* Add a W position to display-menu -y to use the line above (or below) thenicm2020-04-021-11/+43
| | | | | status line containing the window list. Leave S meaning above (or below) all status lines. GitHub issue 2145.
* Change default position for menu and popup to centre rather than top left.nicm2020-03-281-8/+4
|
* Make two -E only close popup automatically if the command exited with 0.nicm2020-03-281-2/+4
|
* Fix how popup height is calculated to take embedded newlines into account.nicm2020-03-281-2/+6
|
* Add support for overlay popup boxes to show text or output temporarilynicm2020-03-241-1/+94
| | | | | above the normal layout. These work similarly to menus and are created with the display-popup command.
* Add C position for terminal centre with display-menu -x and -y.nicm2020-03-191-3/+6
|
* Break position calculation into a helper function.nicm2020-03-181-70/+81
|
* Change display-menu from taking a single string to a set of arguments,nicm2019-05-281-18/+33
| | | | which is much easier to work with. Based on a diff from Avi Halachmi.
* Add formats for word and line under the mouse and use them to add somenicm2019-05-261-2/+2
| | | | items to the pane menu.
* Remove menu_create_from_items, I thought I would use it for some laternicm2019-05-121-2/+2
| | | | work but I don't need it.
* Add support for simple menus usable with mouse or keyboard. New commandnicm2019-05-101-0/+163
display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.