aboutsummaryrefslogtreecommitdiff
path: root/popup.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master' into masterThomas Adam2021-08-14
|\
| * Tweak how mouse works on popup: only Meta alone resizes or moves, notnicm2021-08-13
| | | | | | | | | | Meta with other modifiers; button 2 on the left or top border opens menu, right or bottom resizes; button 1 on any border moves.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-14
|\|
| * Check callback needs to only return 0 (text should be suppressed) ifnicm2021-08-13
| | | | | | | | menu returns 0, otherwise it should check the popup also.
| * Fill in some other bits on new panes.nicm2021-08-13
| |
| * Add menu options to convert a popup into a pane.nicm2021-08-13
| |
| * Adjust overlay check callback before drawing data from pty.nicm2021-08-13
| |
| * Add a menu when a popup is present (mouse only for now).nicm2021-08-13
| |
| * Add -B flag to remove border from popup.nicm2021-08-13
| |
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-12
|\|
| * Break the colour palette into a struct rather than just a single arraynicm2021-08-11
| | | | | | | | | | | | and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815.
* | Merge branch 'obsd-master' into masterThomas Adam2021-08-05
|\|
| * Do not freeze output in panes when a popup is open, let them continue tonicm2021-08-05
| | | | | | | | redraw. From Anindya Mukherjee .
* | Merge branch 'obsd-master' into masterThomas Adam2021-07-21
|\|
| * Do not close popups on resize, instead adjust them to fit, from Anindyanicm2021-07-21
| | | | | | | | Mukherjee.
* | Merge branch 'obsd-master' into masterThomas Adam2021-03-02
|\|
| * 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).
* | Merge branch 'obsd-master' into masterThomas Adam2021-02-02
|\|
| * Fix popup mouse position.nicm2021-02-02
| |
* | Merge branch 'obsd-master'Thomas Adam2020-09-22
|\|
| * Resize screen to the correct size (borders need to be taken off).nicm2020-09-22
| |
* | No paths.h.Nicholas Marriott2020-05-16
|/
* Separate key flags and modifiers, log key flags, make the "xterm" flagnicm2020-05-16
| | | | more explicit and fix M- keys with a leading escape.
* Move editor stuff to common code in popup.c.nicm2020-05-16
|
* Only redraw popup on the client it belongs to.nicm2020-05-16
|
* Do not hoke into struct window_pane from the tty code and instead setnicm2020-05-16
| | | | | | | everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
* Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-16
|
* Add helpers for the simple case of parse string and add to command queue.nicm2020-04-13
|
* When adding a list of commands to the queue, instead of automaticallynicm2020-04-13
| | | | | | | creating a new state for each group of commands, require the caller to create one and use it for all the commands in the list. This means the current target works even with list with multiple groups (which can happen if they are defined with newlines).
* 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).
* Limit size to 1x1 (total size 3x3).nicm2020-04-07
|
* Support mouse in popups.nicm2020-04-01
|
* Detach reply escape sequences from the pane so they work in popups.nicm2020-03-31
|
* Do not check flags after the popup struct has been freed.nicm2020-03-30
|
* Make two -E only close popup automatically if the command exited with 0.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.