nicm
a84c109604
Add window_pane_mode helper function to tell if a pane is in copy mode,
...
from Michael Grant.
2024-08-26 07:14:40 +00:00
nicm
4823acca8f
Add copy-mode -d flag to scroll a page down if in copy mode already,
...
from Michael Grant.
2024-08-26 07:09:34 +00:00
nicm
08be883297
Ignore internal function keys if they have not got an entry in the key
...
table.
2024-08-23 13:25:39 +00:00
nicm
c7e61a01e5
Revamp extended keys support to more closely match xterm and support
...
mode 2 as well as mode 1. From Stanislav Kljuhhin (GitHub issue 4038).
This changes tmux to always request mode 2 from parent terminal, change
to an unambiguous internal representation of keys, and adds an option
(extended-keys-format) to control the format similar to the xterm(1)
formatOtherKeys resource.
2024-08-21 04:17:09 +00:00
nicm
7b6fbe7262
Adjust the logic when deleting last buffer to better preserve the
...
selection: if selecting the element below the deleted one fails (because
as the last one), select the one above it instead. From Daniel Mueller,
GitHub issue 4043.
2024-08-04 08:53:43 +00:00
nicm
aa1353947e
UTF-8 keys now contain the internal representation and not the Unicode
...
codepoint, so convert extended keys properly. From Stanislav Kljuhhin.
2024-07-12 11:21:18 +00:00
nicm
093b5a5518
Add a way (refresh-client -r) for control mode clients to provide OSC 10
...
and 11 responses to tmux so they can set the default foreground and
background colours, from George Nachman in GitHub issue 4014.
2024-06-24 08:30:50 +00:00
jsg
ac6c1e9589
remove prototype with no matching function
2024-05-19 03:27:58 +00:00
jsg
03de52653e
remove prototypes with no matching function; ok nicm@
2024-05-18 08:51:26 +00:00
nicm
d39dcea30a
Use default-shell for command prompt #() and popups as well
2024-05-15 09:59:12 +00:00
nicm
553d4cba79
Add an option allow-set-title to forbid applications from changing the
...
pane title, from someone in GitHub issue 3930.
2024-04-10 07:36:25 +00:00
nicm
6c0067c103
Do not notify window-layout-changed if the window is about to be
...
destroyed (since it may have been freed by the time the notify happens),
from Romain Francoise in GitHub issue 3860.
2024-03-21 11:30:42 +00:00
nicm
4bdb855020
Do not allow paste into panes which have exited, from Romain Francoise
...
in GitHub issue 3830.
2024-02-13 08:03:50 +00:00
nicm
f09cde2542
Change UTF-8 combining to inspect the previous character at the cursor
...
position rather than keeping the last character from the input stream,
this is how most terminals work and fixes problems with displaying these
characters in vim. GitHub issue 3600.
2023-09-15 15:49:05 +00:00
nicm
d394293ba5
Add -t to source-file, GitHub issue 3473.
2023-09-15 06:31:49 +00:00
nicm
c767d62329
Request terminal colours again on SIGWINCH but at most once every 30
...
seconds, GitHub issue 3582.
2023-09-02 20:03:10 +00:00
nicm
d209fe9b1e
Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
...
issue 3627.
2023-09-02 09:17:23 +00:00
nicm
9456258ccc
Rewrite combined character handling to be more consistent and to support
...
newer Unicode combined characters (which we have to "know" are combined
since they are not width zero). GitHub issue 3600.
2023-09-01 14:29:11 +00:00
nicm
8636848e63
Add a session, pane and user mouse range types for the status line and
...
add format variables for mouse_status_line and mouse_status_range so
they can be associated with different commands in the key bindings.
GitHub issue 3652.
2023-08-17 14:10:28 +00: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
nicm
7a44984069
Add flag to next-prompt/previous-prompt to go to command output instead,
...
from Magnus Gross.
2023-08-08 08:21:29 +00:00
nicm
1071ef8fc5
Extend the menu drawing function to support custom characters and
...
styles, from Alexis Hildebrandt.
2023-08-08 07:41:04 +00:00
nicm
8b3e2eab5a
Use a stack for last panes line windows, from Thomas Bertschinger in
...
GitHub issue 3588.
2023-07-10 09:24:53 +00:00
nicm
43b841f188
Add support for marking lines with a shell prompt based on the OSC 133
...
extension, from Munif Tanjim in GitHub issue 3596.
2023-07-03 16:47:43 +00:00
nicm
bdd05bdbd3
Fix mismatch between function prototype and definition, from Anindya
...
Mukherjee.
2023-06-08 11:17:28 +00:00
tb
204d8f31d7
Reorder struct grid_cell_entry
...
On aarch64 with llvm 15, the new -Wunaligned-access emits noise on every
one of tmux's source files. This avoids this warning by moving a u_char
to the end of the struct. This does not change the size of the struct on
any architecture.
ok nicm
2023-05-08 10:03:39 +00:00
nicm
8f34504736
Tidy tparm wrapper functions to have more obvious names and check tparm
...
return value.
2023-04-25 09:31:50 +00:00
nicm
48eba4c195
Ignore the user keys range when checking if a key is Unicode.
2023-04-17 18:22:24 +00:00
nicm
c21af7e446
Add a format to show if there are unseen changes while in a mode, from
...
Dan Aloni in GitHub issue 3498.
2023-03-27 08:47:57 +00:00
nicm
93b1b78150
Extend display-message to work for control clients. GitHub issue 3449.
2023-02-05 21:15:32 +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
nicm
eb1f8d70a7
Mark keys sent by command and skip paste handling for them.
2023-01-16 11:26:14 +00:00
nicm
483cc77c1c
Have tmux recognise pasted texts wrapped in bracket paste sequences,
...
rather than only forwarding them to the program inside. From Andrew
Onyshchuk in GitHub issue 3431.
2023-01-12 18:49:11 +00:00
nicm
09afc6c8ee
If a pane is killed, cancel reading from the file. GitHub issue 3422.
2023-01-06 07:09:27 +00:00
nicm
a41a927441
Query the client terminal for foreground and background colours and if
...
OSC 10 or 11 is received but no colour has been set inside tmux, return
the colour from the first attached client (probably most people will
have all light or or all dark terminals).
2023-01-03 11:43:24 +00:00
jmc
3fe01ff09c
spelling fixes; from paul tagliamonte
...
amendments to his diff are noted on tech
2022-12-26 19:16:03 +00:00
nicm
3b3f42053a
Add send-keys -K to handle keys directly as if typed (so look up in key
...
table). GitHub issue 3361.
2022-12-16 08:13:40 +00:00
nicm
7e497c7f23
Process escape sequences in show-buffer, GitHub issue 3401.
2022-12-07 09:44:44 +00:00
nicm
fe475bd856
Parse primary device attributes as well as secondary and add a SIXEL
...
flag (not used yet), from Anindya Mukherjee.
2022-11-11 08:37:55 +00:00
nicm
2d08235987
Add modified Tab key sequences, from Aaron Jensen, GitHub issue 3368.
2022-11-01 09:54:13 +00:00
nicm
8edece2cdb
Add paste-buffer-deleted notification and fix name of paste-buffer-changed.
2022-10-28 13:00:02 +00:00
nicm
9cc8e40aa0
Add a -T flag to capture-pane to stop at the last used cell instead of
...
the full width. Restore the previous behaviour by making it default to
off unless -J is used (the only time it matters). Fixes mosh unit tests;
GitHub issue 3339.
2022-09-28 07:55:29 +00:00
nicm
7c2dcd7238
Notify when a paste buffer is deleted, GitHub issue 3302 from George
...
Nachman.
2022-08-15 09:10:34 +00:00
nicm
03149bf7f6
Add a Nobr terminfo capability to tell tmux the terminal does not use
...
bright colours for bold (makes a difference to how tmux applies palette
differences). From Damien Tardy-Panis in GitHub issue 3301.
2022-08-15 08:54:03 +00:00
nicm
42ba6c1b22
Add a third state "all" to allow-passthrough to work even in invisible
...
panes, from Sergei Grechanik in GitHub issue 3274.
2022-08-02 11:09:26 +00:00
nicm
9e03df5500
Defer reading from control client until the command line command has
...
completed.
2022-07-06 08:31:59 +00:00
nicm
d0d2c39dec
Support hyperlinks with capture-pane -e and add a mouse_hyperlink
...
format, GitHub issue 3247 from Jeff Chiang.
2022-07-06 07:36:36 +00:00
nicm
cdacc12ce3
Add support for OSC 8 hyperlinks (a VTE extension now supported by other
...
terminals such as iTerm2). Originally written by me then extended and
completed by first Will Noble and later Jeff Chiang. GitHub issues 911,
2621, 2890, 3240.
2022-06-30 09:55:53 +00:00
nicm
9c89f7c2af
Store time lines are scrolled into history and display in copy mode.
2022-06-21 09:30:01 +00:00
nicm
d9f84854ac
Check cursor options when a pane is created, not just when they are changed.
2022-06-17 07:28:05 +00:00