Thomas Adam
22eb0334c3
Merge branch 'obsd-master'
2023-03-15 22:01:09 +00:00
nicm
a9ac614691
Do not leak screen in popups, GitHub issue 3492.
2023-03-15 19:23:22 +00:00
Thomas Adam
c42087c789
Merge branch 'obsd-master'
2023-01-21 00:01:11 +00:00
nicm
3aa458ea63
Add a flag to display-menu to select the manu item chosen first, GitHub
...
issue 3442.
2023-01-20 21:36:00 +00:00
Thomas Adam
2be5488693
Merge branch 'obsd-master' into master
2022-02-22 14:01:10 +00:00
nicm
a9b880921d
Use correct size for screen when popup is created without borders.
2022-02-22 11:01:57 +00:00
Thomas Adam
722f395e61
Merge branch 'obsd-master' into master
2022-02-16 22:01:11 +00:00
nicm
0027ee13a0
Support more mouse buttons when the terminal sends them, GitHub issue
...
3055.
2022-02-16 18:55:05 +00:00
Thomas Adam
a5cf7a9b39
Merge branch 'obsd-master' into master
2022-02-01 20:01:13 +00:00
nicm
97900d0442
A menu must be shown on a client, so always give the client when adding
...
the items. Also fix mode menus.
2022-02-01 18:12:20 +00:00
Thomas Adam
6c0397f497
Merge branch 'obsd-master' into master
2022-01-17 12:01:10 +00:00
nicm
a6b361e775
Do not try to strdup NULL, from seL4 at disroot dot org in GitHub issue
...
3038.
2022-01-17 10:40:03 +00:00
Thomas Adam
3934d9b24d
Merge branch 'obsd-master' into master
2021-10-25 12:01:11 +01:00
nicm
ef46eb91a5
Add -s and -S to display-popup to set popup and border style, from
...
Alexis Hildebrandt in GitHub issue 2931.
2021-10-25 09:38:36 +00:00
nicm
0cca695d6e
Instead of setting the popup default colours in the draw callback, set
...
it up in popup_display and follow the same routine as panes in the draw
and init_ctx callbacks - use the palette if the option value is default.
Allows application-set fg and bg to work in panes again.
2021-10-25 09:22:17 +00:00
Thomas Adam
1bf2f811ea
Merge branch 'obsd-master' into master
2021-10-20 14:01:15 +01:00
nicm
acba07629e
Remove a TODO comment.
2021-10-20 09:52:27 +00:00
Thomas Adam
264fe7fc2a
Merge branch 'obsd-master' into master
2021-10-14 16:01:20 +01:00
nicm
add20637f2
Add popup-border-lines option to set popup line style, from Alexis
...
Hildebrandt, GitHub issue 2930.
2021-10-14 13:19:01 +00:00
Thomas Adam
fb23df679b
Merge branch 'obsd-master' into master
2021-10-13 14:01:16 +01:00
nicm
837ca176d1
Add popup-style and popup-border-style options, from Alexis Hildebrandt
...
in GitHub issue 2927.
2021-10-13 09:28:36 +00:00
Thomas Adam
aff2a473ec
Merge branch 'obsd-master' into master
2021-10-11 16:01:13 +01:00
nicm
b8581ec80e
Make positions hidden by overlays range-based rather than character-based,
...
from Anindya Mukherjee.
2021-10-11 13:27:50 +00:00
Thomas Adam
af82106fae
Merge branch 'obsd-master' into master
2021-10-11 14:01:13 +01:00
nicm
759efe1b33
Add -e flag to set environment for popup, from Alexis Hildebrandt in
...
GitHub issue 2924.
2021-10-11 10:55:30 +00:00
nicm
1a7eb6ca90
Revert previous; this is not how it should work.
2021-08-17 08:22:44 +00:00
nicm
158f0e8c41
Start sync before drawing popup.
2021-08-17 07:14:33 +00:00
Thomas Adam
79f075bf1b
Merge branch 'obsd-master' into master
2021-08-14 01:35:27 +01:00
Thomas Adam
54773d23b5
Merge branch 'obsd-master' into master
2021-08-14 01:34:54 +01:00
nicm
7d7d7c9605
Tweak how mouse works on popup: only Meta alone resizes or moves, not
...
Meta with other modifiers; button 2 on the left or top border opens
menu, right or bottom resizes; button 1 on any border moves.
2021-08-13 23:05:40 +00:00
nicm
63aa968642
Check callback needs to only return 0 (text should be suppressed) if
...
menu returns 0, otherwise it should check the popup also.
2021-08-13 20:04:45 +00:00
nicm
7a0cec5ecf
Fill in some other bits on new panes.
2021-08-13 19:55:11 +00:00
nicm
2588c3e52e
Add menu options to convert a popup into a pane.
2021-08-13 19:27:25 +00:00
nicm
92615b534a
Adjust overlay check callback before drawing data from pty.
2021-08-13 19:25:24 +00:00
nicm
7789639b5d
Add a menu when a popup is present (mouse only for now).
2021-08-13 18:54:54 +00:00
nicm
614611a8bd
Add -B flag to remove border from popup.
2021-08-13 17:03:29 +00:00
Thomas Adam
44ada9cd67
Merge branch 'obsd-master' into master
2021-08-12 00:01:26 +01:00
nicm
7eea3d7ab8
Break the colour palette into a struct rather than just a single array
...
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.
2021-08-11 20:49:55 +00:00
Thomas Adam
e3fa6cd96c
Merge branch 'obsd-master' into master
2021-08-05 12:01:19 +01:00
nicm
93cc8df692
Do not freeze output in panes when a popup is open, let them continue to
...
redraw. From Anindya Mukherjee .
2021-08-05 09:43:51 +00:00
Thomas Adam
7cbf4c9027
Merge branch 'obsd-master' into master
2021-07-21 10:01:24 +01:00
nicm
f0e02387b2
Do not close popups on resize, instead adjust them to fit, from Anindya
...
Mukherjee.
2021-07-21 08:06:36 +00:00
Thomas Adam
2301bee87d
Merge branch 'obsd-master' into master
2021-03-02 12:01:25 +00:00
nicm
c44750792a
Drop support for popups where the content is provided directly to tmux
...
(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).
2021-03-02 10:56:45 +00:00
Thomas Adam
86955dbfe1
Merge branch 'obsd-master' into master
2021-02-02 14:01:19 +00:00
nicm
f0546b0ff8
Fix popup mouse position.
2021-02-02 13:03:03 +00:00
Thomas Adam
859a4c3460
Merge branch 'obsd-master'
2020-09-22 10:01:17 +01:00
nicm
51909a107f
Resize screen to the correct size (borders need to be taken off).
2020-09-22 06:44:52 +00:00
Nicholas Marriott
dc56b3cd32
No paths.h.
2020-05-16 20:27:00 +01:00
nicm
292b335ca5
Separate key flags and modifiers, log key flags, make the "xterm" flag
...
more explicit and fix M- keys with a leading escape.
2020-05-16 16:35:13 +00:00