aboutsummaryrefslogtreecommitdiff
path: root/cmd-display-menu.c
Commit message (Collapse)AuthorAge
* Replace %% in command lists (by copying them) for template arguments ,nicm2021-08-27
| | | | | this means they can be used with {} as well. Also make argument processing from an existing vector preserve commands. GitHub issue 2858.
* Validate command argument types (string or command list) and give morenicm2021-08-25
| | | | useful error messages.
* Limit width and height to tty correctly, GitHub issue 2843.nicm2021-08-23
|
* Do not double free expanded path in source-file, also remove somenicm2021-08-22
| | | | unnecessary assignments.
* Add args parsing callback for some future work, currently unused.nicm2021-08-21
|
* Hide struct args behind a couple of accessor functions.nicm2021-08-20
|
* Add -B flag to remove border from popup.nicm2021-08-13
|
* Do not add height twice when calculating popup_mouse_top, from M Kelly.nicm2021-07-21
|
* Fix mouse_word format now word-separators has no space and position ofnicm2021-07-08
| | | | menu if too close to the bottom.
* Fix display-menu -xR, from Alexis Hildebrandt.nicm2021-06-10
|
* Drop support for popups where the content is provided directly to tmuxnicm2021-03-02
| | | | | | (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-26
|
* Expand menu and popup -x and -y as a format, from teo_paul1 at yahoo dotnicm2020-11-03
| | | | com in GitHub issue 2442.
* Add a -O flag to display-menu to change the mouse behaviour and notnicm2020-10-30
| | | | | 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-16
|
* Make client -c and -t handling common in cmd-queue.c and try to benicm2020-04-13
| | | | | clearer about whether the client is the target client (must have a session) or not.
* Move cmdq_state into cmd-queue.c.nicm2020-04-13
|
* Rename cmdq_shared to cmdq_state which will better reflect what it isnicm2020-04-13
| | | | (going to be) used for.
* Store a key event not a mouse event in the shared data.nicm2020-04-13
|
* Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm2020-04-13
| | | | 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-13
|
* Pass the cmd item to format expansion so that mouse formats work.nicm2020-04-08
|
* Add a W position to display-menu -y to use the line above (or below) thenicm2020-04-02
| | | | | 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-28
|
* Fix how popup height is calculated to take embedded newlines into account.nicm2020-03-28
|
* Add support for overlay popup boxes to show text or output temporarilynicm2020-03-24
| | | | | 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-19
|
* Break position calculation into a helper function.nicm2020-03-18
|
* Change display-menu from taking a single string to a set of arguments,nicm2019-05-28
| | | | 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-26
| | | | items to the pane menu.
* Remove menu_create_from_items, I thought I would use it for some laternicm2019-05-12
| | | | work but I don't need it.
* Add support for simple menus usable with mouse or keyboard. New commandnicm2019-05-10
display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.