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
8191c58737
Reset combine flag only if text is actually processed.
2023-09-14 13:01:35 +00:00
nicm
c02bc4dbe9
On second thoughts, do check DA2 for DECFRA and DECSLRM since that will
...
catch terminals that say they are VT520 even if we can't use DA1
(because of VTE).
2023-09-08 07:05:06 +00:00
nicm
4872811ba7
Use DECSLRM and DECFRA only at level 4 rather than checking the terminal
...
id.
2023-09-08 06:52:31 +00:00
nicm
9653a52a6a
Use DECSLRM and DECFRA on terminals pretending to be VT520 or VT525 as
...
well as VT420.
2023-09-07 10:21:46 +00:00
nicm
c99f9e92e0
Accept 65 for VT525 as well.
2023-09-07 07:19:21 +00:00
nicm
43e5e80343
Skip wrapped lines in top level search loop because they will be
...
combined in the inner loop (in window_copy_search_rl_regex and the
others), avoids searching the same text multiple times. Also add a line
length limit for regex searches. GitHub issue 3675.
2023-09-04 08:01:43 +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
c5542637d7
Set visited flag on last windows when linking session.
2023-09-02 08:38:37 +00:00
nicm
579829eef2
Only compare the actual size of the UTF-8 character, not all of it.
2023-09-01 18:43:54 +00:00
nicm
f78279bb2e
Add missing -T to getopt string.
2023-09-01 16:40:38 +00:00
nicm
16e4b39359
Clear combine flag when a non-UTF-8 set of characters is encountered.
2023-09-01 16:01:54 +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
c41d59f232
Expand name before looking for window with -S, GitHub issue 3670.
2023-09-01 14:24:46 +00:00
nicm
c1e6e54e6e
Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.
2023-09-01 13:48:54 +00:00
nicm
71d453f169
Add -c to run-shell to set working directory, from someone in GitHub
...
issue 3661.
2023-08-23 08:40:25 +00:00
nicm
52084b2948
Log what input_dcs_dispatch does with the input data.
2023-08-23 08:30:07 +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
d9942c769e
Add meta bindings for status line menus as well as the existing pane one
...
for terminals which steal the mouse menu button.
2023-08-15 09:51:48 +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
57837bbf67
Do not crash if in buffer mode and the last buffer is deleted using the
...
command.
2023-08-11 17:09:00 +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
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
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
2b535bc173
Fix a couple of rounded border characters, from Alexis Hildebrandt.
2023-08-08 07:19:48 +00:00
nicm
7b1030293c
Free title earlier, from Alexis Hildebrandt.
2023-08-07 10:52:00 +00:00
nicm
a5fd80bbc3
Trim can generate strings longer than the original if there are many #s,
...
so create a bigger buffer. Reported by Robert Morris.
2023-08-07 10:04:29 +00:00
nicm
b13c230749
Correct visited flag when the last window list is rebuilt by renumbering
...
windows, appears to fix hang reported by Mark Kelly.
2023-07-19 13:03:36 +00:00
nicm
2f74e811f1
Set extended keys flag again after reset, from Eric T Johnson.
2023-07-14 19:32:59 +00:00
nicm
84936b832f
Use 8 for underscore colour defaults instead of 0 which is less
...
confusing, and fix writing tge default colour. GitHub issue 3627.
2023-07-13 06:03:48 +00:00
nicm
8fcc212e7a
Remove Ns and Li and change Nm to Ic, suggested by jmc.
2023-07-11 16:09:09 +00:00
nicm
efded95ed7
Add descriptions of copy mode commands, from Michael Bianco.
2023-07-11 07:34:23 +00:00
nicm
63b7282377
It should no longer be necessary to ignore SIGCHLD because it is now
...
blocked around daemon(), and doing so causes trouble with newer libevent
(it cannot restore the original handler). Reported by Azat Khuzhin in
GitHub issue 3626.
2023-07-10 12:00:08 +00:00
nicm
4ece43a029
Loop around waitpid in client, from Azat Khuzhin.
2023-07-10 09:35:46 +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
b7e22d00b4
Call closefrom after removing signals because newer libevent doesn't
...
like its signal fd being closed Azat Khuzhin.
2023-07-09 22:54:52 +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
ac43186dff
Do not risk writing over the end of the buffer when it ends in #
...
(because strchr \0 will be non-NULL), reported by Robert Morris in
GitHub issue 3610.
2023-07-03 10:48:26 +00:00
nicm
e79fb214f8
Another warning fix for GCC from Thomas Klausner.
2023-07-03 08:37:14 +00:00
nicm
a2a02fd7d7
Change a few types to fix warnings, from Thomas Klausner.
2023-06-30 21:55:08 +00:00
nicm
4e57894e85
Get rid of some warnings with GCC 10, from Thomas Klausner.
2023-06-30 13:19:32 +00:00
nicm
2546216019
When exiting alternate screen, there is no need to reflow when going
...
back to old size since the contents will be overwritten. GitHub issue
3510.
2023-06-26 08:14:19 +00:00
nicm
ff8882a24f
Add "us" to styles for underscore colour, GitHub issue 3589.
2023-06-26 07:17:40 +00:00
nicm
9e14c1f88d
SGR 0 should not end hyperlink, reported by Lucas Trzesniewski.
2023-06-25 15:53:07 +00:00
nicm
645bf8b3ab
Check fdopen return value, from Christian Menges.
2023-06-21 06:28:18 +00:00
nicm
bdd05bdbd3
Fix mismatch between function prototype and definition, from Anindya
...
Mukherjee.
2023-06-08 11:17:28 +00:00
nicm
1d98394b41
Add format for server_sessions, from Magnus Gross.
2023-05-19 07:46:34 +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