Thomas Adam
6a45e6c256
Merge branch 'obsd-master'
2023-08-15 10:01:09 +01:00
nicm
b770a429c6
Add an option menu-selected-style to configure the currently selected
...
menu item, from Alexis Hildebrandt.
2023-08-15 07:01:47 +00:00
Thomas Adam
4c60afde78
Merge branch 'obsd-master'
2023-08-08 12:01:10 +01:00
nicm
dee72ed41f
Add options and flags for menu styles similar to those existing for
...
popups, from Alexis Hildebrandt. GitHub issue 3650.
2023-08-08 08:08:47 +00:00
Thomas Adam
29a5dfc7c0
Merge branch 'obsd-master'
2023-06-21 08:01:08 +01:00
nicm
645bf8b3ab
Check fdopen return value, from Christian Menges.
2023-06-21 06:28:18 +00:00
Thomas Adam
f41c536ff3
Merge branch 'obsd-master'
2023-06-08 14:01:09 +01:00
nicm
bdd05bdbd3
Fix mismatch between function prototype and definition, from Anindya
...
Mukherjee.
2023-06-08 11:17:28 +00:00
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