Michael Grant
7e6bbc63ab
Fix a slew of possible int vs u_int bugs which would likely have caused an overflow crash.
2026-03-18 13:04:21 +00:00
Michael Grant
992f04f328
Merge branch 'master' into floating_panes
2026-03-16 09:12:08 +00:00
Thomas Adam
bef4865d91
Merge branch 'obsd-master'
2026-03-12 16:01:08 +00:00
nicm
fd62f419ac
Add a short builtin help text for each mode accessible with C-h,
...
based on code from Patrick Motard in GitHub issue 4751.
2026-03-12 12:40:40 +00:00
Thomas Adam
7fa6f320ed
Merge branch 'obsd-master'
2026-03-12 12:01:09 +00:00
nicm
19f3fb131b
Draw message as one format, allowing prompts and messages to occupy only
...
a portion of the status bar, overlaying the normal status content rather
than replacing the entire line. A new message-format option now controls
the entire message (like status-format). From Conor Taylor in GitHub
issue 4861.
2026-03-12 07:25:13 +00:00
Michael Grant
8a90fce476
Fix for window size taller than tty.
2026-03-10 13:21:01 +00:00
Michael Grant
46427f1dd7
Merge branch 'master' into floating_panes
2026-03-09 08:31:58 +00:00
Thomas Adam
d9d2b2f1ee
Merge branch 'obsd-master'
2026-03-05 12:01:09 +00:00
nicm
1e208abd93
Add pane_pipe_pid with pipe fd and call setpgid to make it easier to kill.
2026-03-05 09:22:08 +00:00
Michael Grant
8e6450c8fc
Merge branch 'master' into floating_panes
2026-03-04 13:16:52 +00:00
Thomas Adam
0800e51d41
Merge branch 'obsd-master'
2026-02-26 10:18:15 +00:00
nicm
5b3c642195
Pass paste buffer through vis(3) when pasting to prevent buffers
...
containing for example the bracket end sequence causing issues. -S flag
disables. Reported by Mason Davis.
2026-02-25 07:53:41 +00:00
nicm
09bd686327
Add sorting (-O flag) and a custom format (-F) to list-keys, from Dane
...
Jensen in GitHub issue 4845.
2026-02-24 08:20:52 +00:00
Thomas Adam
c9fb989a31
Merge branch 'obsd-master'
2026-02-23 08:11:38 +00:00
Michael Grant
e2cf40ef99
Fix crash cause by not having a wp pointer in tty.c.
2026-02-23 08:08:31 +00:00
Michael Grant
96515c9f47
Merge branch 'master' into floating_panes
2026-02-18 09:28:38 +00:00
nicm
03f8690f9c
Pass which clipboard is set through to the terminal, from Axel Lindskog
...
in GitHub issue 4858.
2026-02-18 09:10:31 +00:00
Thomas Adam
d3522c328c
Merge branch 'obsd-master'
2026-02-12 11:10:01 +00:00
Michael Grant
96e18faa93
Merge branch 'master' into floating_panes
2026-02-11 09:40:21 +00:00
nicm
7e50eb0e83
Make paste_get_top return a copy of the buffer name which is more
...
sensible and avoids a double free pointed out by DongHan Kim.
2026-02-11 08:30:37 +00:00
nicm
25f6d8b1e9
Implement some obvious missing sort orders, from Dane Jensen in GitHub
...
issue 4813.
2026-02-10 09:55:53 +00:00
nicm
62944da74b
Make OSC 52 work in popups, from gogongxt at 163 dot com in GitHub issue
...
4797.
2026-02-03 09:07:44 +00:00
nicm
588013bb44
Refresh copy mode when style changes, from Josh Cooper in GitHub issue 4830.
2026-02-03 08:53:58 +00:00
Thomas Adam
615c27c117
Merge branch 'obsd-master'
2026-02-02 19:06:25 +00:00
nicm
3c3d9ce3a9
Break sorting out into a common file so formats and modes use the same
...
code. Also add -O for sorting to the list commands. From Dane Jensen in
GitHub issue 4813.
2026-02-02 10:08:30 +00:00
Nicholas Marriott
2ad0f4a9e7
Merge branch 'master' into floating_panes
2026-01-29 08:43:41 +00:00
Thomas Adam
d7f59eccaf
Merge branch 'obsd-master'
2026-01-28 17:25:42 +00:00
Michael Grant
1ec9ca497b
Merge with visible_ranges banch. Convert visible_ranges to new style.
2026-01-28 15:26:00 +00:00
Thomas Adam
e652213855
Merge branch 'obsd-master'
2026-01-23 10:50:55 +00:00
nicm
f70150a663
Replace overlay_ranges with visible_ranges which can hold more than
...
three ranges (will be needed for floating panes); move the visible
ranges checks outside of tty_draw_line and rewrite it to fix issues with
partially-obscured wide characters. With Michael Grant.
2026-01-23 10:45:53 +00:00
Michael Grant
dd5d0f4f0c
Merge master.
2026-01-23 09:29:39 +00:00
nicm
195a9cfd88
When history-limit is changed, apply to existing panes, not just new
...
ones. GitHub issue 4705.
2026-01-22 08:55:01 +00:00
Nicholas Marriott
d1a6ce8e7f
Associate each visible_ranges with some other object (tty, popup_data, etc) so
...
it is easier to keep track of its lifecycle, but still avoid allocating for
each use.
2026-01-21 21:29:56 +00:00
Michael Grant
a25c14d472
Change overlay_ranges into visible_ranges.
2026-01-21 19:34:19 +00:00
Nicholas Marriott
35485f2b5e
Fix selection with tty_draw_line.
2026-01-21 12:23:46 +00:00
Nicholas Marriott
b108653f02
Change overlay_ranges to visible_ranges.
2026-01-20 21:18:33 +00:00
Nicholas Marriott
25f72cf240
Rewrite tty_draw_line to be simpler and not to check overlay ranges.
2026-01-20 21:18:20 +00:00
nicm
ab1f2ef71c
Add a function to convert a screen to a string, from Michael Grant.
2026-01-20 16:32:05 +00:00
Thomas Adam
95b4bb51c6
Merge branch 'obsd-master'
2026-01-14 22:01:08 +00:00
nicm
1e5f93b7b6
Add -e flag to command-prompt to close if empty, from Dane Jensen in
...
GitHub issue 4812.
2026-01-14 19:43:43 +00:00
Thomas Adam
97d61131df
Merge branch 'obsd-master'
2026-01-12 10:01:08 +00:00
nicm
a443531280
Remember last pane or type of location for double and triple clicks and
...
correctly handle it changes between first and second or second and
third. GitHub issue 4795 from Shaobo Song.
2026-01-12 07:48:36 +00:00
Michael Grant
34add944f2
Merge branch 'master' into feature-floating-window-panes
2026-01-07 23:41:29 +01:00
Thomas Adam
75d3974c12
Merge branch 'obsd-master'
2026-01-07 10:01:08 +00:00
nicm
583f12ea71
Work out the default command from the queue in case it has been set from
...
the config file, GitHub issue 4791.
2026-01-07 08:16:20 +00:00
Thomas Adam
3de7a8ad8d
Merge branch 'obsd-master'
2026-01-06 22:01:07 +00:00
nicm
f226804149
Do not send theme unless it has changed, and do not send immediately
...
when updates are enabled. GitHub issue 5787.
2026-01-06 20:05:57 +00:00
Thomas Adam
9b7732eac4
Merge branch 'obsd-master'
2026-01-06 12:01:07 +00:00
nicm
5f9dac8abc
Do not use ;;s in list-keys output as it is confusing and cannot be
...
parsed on input, from Patrick Motard in GitHub issue 4750.
2026-01-06 10:17:29 +00:00