Nicholas Marriott
185ae656e0
Merge branch 'master' into command_parser
2026-07-01 00:13:28 +01:00
Nicholas Marriott
e935342702
More cleanup.
2026-06-30 22:32:36 +01:00
Nicholas Marriott
a9cff084c0
Remove cmd_list and old stuff.
2026-06-30 21:50:26 +01:00
Nicholas Marriott
928c7a9771
More checks for macOS.
2026-06-30 21:28:28 +01:00
Nicholas Marriott
b3bb8bbd9f
Options and hooks updates.
2026-06-30 17:57:38 +01:00
Nicholas Marriott
a97912a4f8
Simplify args stuff.
2026-06-30 17:19:37 +01:00
Your Name
b30f5f82e0
Switch over args stuff.
2026-06-30 16:30:09 +01:00
Nicholas Marriott
b48e2ea8e9
Handle key binding.
2026-06-30 11:20:04 +01:00
Your Name
fcfa0b6db4
Allow simple commands to be fired.
2026-06-30 10:03:49 +01:00
Your Name
5f7a4b0f52
Remove unused arguments.
2026-06-30 09:47:33 +01:00
Your Name
45f4000017
Not so much const.
2026-06-30 09:36:26 +01:00
Your Name
e6ad44c8a3
Fix some errors.
2026-06-30 08:40:10 +01:00
Your Name
22b6ad6fce
Add invoke API.
2026-06-30 08:24:44 +01:00
Thomas Adam
543d104f85
Merge branch 'obsd-master'
2026-06-29 20:15:07 +01:00
nicm
e06207c914
Cache scrollbar options in window to avoid a slow lookup when working
...
out visible ranges.
2026-06-29 19:03:34 +00:00
Thomas Adam
91e0737b8a
Merge branch 'obsd-master'
2026-06-29 19:30:07 +01:00
nicm
65a032b205
Allow :. in names again, forbidding them is overly pernickety. Only
...
forbid invalid UTF-8 and #(.
2026-06-29 18:17:28 +00:00
Thomas Adam
80c7dcdbd7
Merge branch 'obsd-master'
2026-06-29 18:30:06 +01:00
nicm
bcd54d12d8
Add link=/nolink to styles to specific a hyperlink. GitHub issue 4280
...
from Moritz Angermann.
2026-06-29 17:08:52 +00:00
Thomas Adam
d5284be91d
Merge branch 'obsd-master'
2026-06-29 09:00:09 +01:00
nicm
c29b41e527
Make pane scrollbars able to auto-hide after a short timeout. This
...
replaces the previous "modal" behaviour where the pane would be resized,
which tended to make a mess. Instead, the scrollbar appears when
scrolling or when hovered over with the mouse and disappears a
(configurable) short period later. From Michael Grant.
2026-06-29 07:45:09 +00:00
Thomas Adam
705fbf92ee
Merge branch 'obsd-master'
2026-06-28 21:49:05 +01:00
nicm
5e0b0a2aa3
Pulled code out of layout_split_pane for reuse and added
...
layout_insert_tile. From Dane Jensen.
2026-06-27 10:21:26 +00:00
nicm
e24969b422
Add a helper to swap a node into the place of a leaf, from Dane Jensen.
2026-06-27 10:18:32 +00:00
Thomas Adam
4b921f3821
Merge branch 'obsd-master'
2026-06-26 15:56:03 +01:00
nicm
575f84ce0f
Add switch-mode a fast switcher with fuzzy searching, bound to Tab (for
...
windows) or BTab (S-Tab, for sessions) by default.
2026-06-26 14:40:30 +00:00
Thomas Adam
30e84ff687
Merge branch 'obsd-master'
2026-06-26 13:00:09 +01:00
nicm
73fd01c986
Some colour fixes and tweaks (marked pane, cursor colours now work).
2026-06-26 11:36:22 +00:00
Thomas Adam
391f880d07
Merge branch 'obsd-master'
2026-06-26 11:15:06 +01:00
nicm
d0bf3bf06d
Add ability to float a tiled pane to break-pane, from Dane Jensen.
2026-06-26 10:02:01 +00:00
Thomas Adam
19d70a85fc
Merge branch 'obsd-master'
2026-06-26 09:30:07 +01:00
nicm
3631f81236
Apply better colours to various builtin bits in modes.
2026-06-26 08:10:48 +00:00
Thomas Adam
6a7f4a1894
Merge branch 'obsd-master'
2026-06-26 00:30:07 +01:00
nicm
8c55a388cd
Add nicer dark and light colour sets (themes) used on terminals with 256
...
or more colours. Currently based these on emacs but they could change.
Terminals with fewer colours use the ANSI colours. A new "theme" option
overrides the detected theme (set to "terminal" to go back to ANSI
colours).
2026-06-25 23:17:25 +00:00
Thomas Adam
5ae701aab5
Merge branch 'obsd-master'
2026-06-25 18:00:06 +01:00
nicm
0d016195ac
Expand colours as formats like styles.
2026-06-25 16:32:42 +00:00
Thomas Adam
0b538b6f2a
Merge branch 'obsd-master'
2026-06-25 13:29:53 +01:00
nicm
51d037e881
Major rework of prompts. The basic prompt mechanics (draw, editing, etc)
...
are now wrapped up in prompt*.c and do not depend on a client. These
functions are used to provide the original client prompt but also to
allow panes to have their own prompts, which works much much better for
floating panes. The mode prompts for both the tree modes and copy mode
are switched over to be per pane.
There are some visible changes (some of these may be changed if they
don't seem to be working well):
- Prompts in modes now appear in the bottom line, covering whatever
content was there.
- command-prompt has a -P flag to open a pane prompt.
- Because they cover the content, the default style for prompts in modes
now does not fill the entire line; the main command prompt stays the
same.
- The old completion menu has gone, and completions are now shown after
the text. Builtin aliases are no longer completed.
- Clicking the mouse on the prompt now moves the cursor or selects a
completion.
2026-06-25 11:39:11 +00:00
Thomas Adam
12473bb6d3
Merge branch 'obsd-master'
2026-06-24 12:15:06 +01:00
nicm
280a962328
Replace two-value prompt_mode enum with a flag.
2026-06-24 11:05:58 +00:00
nicm
37633ff957
Add some enums for prompt return values to make them a bit less confusing.
2026-06-24 10:55:39 +00:00
Thomas Adam
00b0af7021
Merge branch 'obsd-master'
2026-06-23 22:15:06 +01:00
nicm
89027bd22c
Fix MOVE flag handling and remove key code (not actually needed).
2026-06-23 21:00:20 +00:00
Thomas Adam
ff8de1a106
Merge branch 'obsd-master'
2026-06-23 22:00:05 +01:00
nicm
0c5e6770df
Turn off preview if no draw callback and add a function to move to top.
2026-06-23 20:30:10 +00:00
Thomas Adam
c2ad33a04c
Merge branch 'obsd-master'
2026-06-23 21:15:06 +01:00
nicm
c0a5e10313
Use flags for input callback instead of a single int done so the
...
callback can be told about cursor movement in an incremental prompt.
2026-06-23 20:07:58 +00:00
Thomas Adam
6643acb375
Merge branch 'obsd-master'
2026-06-23 11:00:09 +01:00
nicm
9dba08ac8b
Allow -p more than 100%, and account for borders when sizing new panes.
...
From Dane Jensen.
2026-06-23 09:29:26 +00:00
Nicholas Marriott
51b787e449
Fix SIXEL build.
2026-06-23 09:06:43 +01:00