nicm
8dc9e24c74
Revert previous, it is not the right change.
2026-07-01 20:26:39 +00:00
nicm
735bbf9da7
Disable time expansion if expanding an inner format or more %s are
...
needed.
2026-07-01 20:18:05 +00:00
nicm
824ef37f5f
Change layout sets to build the layout using the new mechanics, from
...
Dane Jensen.
2026-07-01 16:43:14 +00:00
nicm
565db46a19
Instead of fully redrawing the pane when sync ends, only redraw lines
...
that have been changed.
2026-07-01 15:44:13 +00:00
nicm
e9396e59d9
Add a couple of format c/f and c/b to emit colours.
2026-07-01 13:12:17 +00:00
nicm
724f85d275
Do not draw to tty if PANE_REDRAW has been set since it is just going to
...
be replaced.
2026-07-01 07:48:48 +00:00
nicm
e69950a9ca
Add overline for ghostty also, GitHub issue 5309.
2026-07-01 06:17:58 +00:00
nicm
1e9a16a748
And some other indentation.
2026-06-30 22:48:12 +00:00
nicm
74a5069c0a
Fix some indentation.
2026-06-30 22:44:21 +00:00
nicm
eda7e563d0
Change a malloc to calloc.
2026-06-30 20:27:36 +00:00
nicm
f8674cc993
Add default features for Ghostty, GitHub issue 5305 from Glib Shpychka.
2026-06-30 10:07:05 +00:00
nicm
abefc3f705
Redraw when sync stops again (accidentally turned off), from Japin Li in
...
GitHub issue 5304.
2026-06-30 09:20:43 +00:00
nicm
a97f643bd3
Remove C-r from help since it does not in fact exist.
2026-06-30 06:44:46 +00: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
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
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
nicm
95719e342d
Limit hyperlink URIs to 1024 bytes which seems enough and allows us not
...
to have to worry about gigantic URIs in styles, part of a change from
Moritz Angermann.
2026-06-29 16:44:06 +00:00
nicm
5df51a06f5
Allow empty window and session names.
2026-06-29 16:20:45 +00: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
nicm
96899dc527
Only forbid #( in names and titles (styles are #[ and are useful).
2026-06-28 15:53:18 +00:00
nicm
7cd33ce0dd
Set view name immediately when entering mode.
2026-06-27 12:37:36 +00:00
nicm
e0dd40f812
Clear lines before writing in copy mode to avoid leaving stray text when
...
new line is shorter than old.
2026-06-27 12:27:43 +00:00
nicm
79f0f97495
Make split-window create a new floating pane if used in a floating pane,
...
rather than just complaining. Also improve documentation. From Dane
Jensen.
2026-06-27 10:23:14 +00: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
nicm
dd02989e88
Invalidate scene when changing window Z index, from Dane Jensen.
2026-06-27 10:16:15 +00:00
nicm
7383c04205
Preseve prompt flags across line clear, from Aung Myo Kyaw.
2026-06-27 10:05:38 +00:00
nicm
5be44a6c03
Use linked sessions not active.
2026-06-26 19:53:47 +00:00
nicm
c0f213b056
Add info modes to tree mode like for clients.
2026-06-26 17:43:15 +00: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
nicm
973c4ab569
Drop mouse movement events rather than redrawing unnecessarily.
2026-06-26 13:58:00 +00:00
nicm
f59921ce18
Use underscore for current in status line.
2026-06-26 12:52:36 +00:00
nicm
ec3c65122f
message-command-style should be inverse of message-style.
2026-06-26 12:41:08 +00:00
nicm
4869a5165a
Add tree-mode-selection-style to continue the process of moving away
...
from mode-style.
2026-06-26 12:06:17 +00:00
nicm
73fd01c986
Some colour fixes and tweaks (marked pane, cursor colours now work).
2026-06-26 11:36:22 +00:00
nicm
19db019e0c
Do not force theme colours to default when capturing.
2026-06-26 10:29:38 +00:00
nicm
d0bf3bf06d
Add ability to float a tiled pane to break-pane, from Dane Jensen.
2026-06-26 10:02:01 +00:00
nicm
dd2fef6673
Do not count arguments starting - as optional arguments, makes old
...
resize-pane syntax work. GitHub issue 5275, based on a changed from Dane
Jensen.
2026-06-26 09:54:56 +00:00
nicm
8e79c4a03d
Bump style buffer to 1024, GitHub issue 5279 from Moritz Angermann.
2026-06-26 09:38:44 +00:00
nicm
f5e9bcc1fc
Another couple of bits look nicer in grey.
2026-06-26 08:19:44 +00:00
nicm
3631f81236
Apply better colours to various builtin bits in modes.
2026-06-26 08:10:48 +00:00
nicm
569e9d932f
Make the default colours more conservative, its really the greys that
...
matter.
2026-06-25 23:48:20 +00: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
nicm
2d0845860a
Fix scrollbar with a format colour.
2026-06-25 17:17:25 +00:00
nicm
0d016195ac
Expand colours as formats like styles.
2026-06-25 16:32:42 +00:00
nicm
7c1ef6a387
Format variable for client colours.
2026-06-25 14:27:58 +00: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
nicm
6b1219b370
Ignore mouse when help is open.
2026-06-24 21:47:06 +00:00
nicm
ba9faae8b6
Free modes rather than going through reset when pane is destroyed as the
...
reset path may try to destroy the pane again.
2026-06-24 21:10:05 +00:00
nicm
280a962328
Replace two-value prompt_mode enum with a flag.
2026-06-24 11:05:58 +00:00