47dff97834
Use backing grid for word in copy mode for wrapped flags, from someone
...
in GitHub issue 4447.
2025-04-03 11:51:27 +00:00
f101762d1b
Fix mouse_hyperlink format in copy mode. From someone in GitHub issue
...
4418.
2025-03-21 14:04:26 +00:00
5eb30c1543
Handle padding cells correctly for regular expression searching, GitHub issue 4399 from
...
github at jyn dot dev.
2025-03-17 20:33:20 +00:00
084e6ee9ec
Add a -M flag to capture-pane to use the copy mode screen, GitHub issue
...
4358.
2025-02-20 13:39:58 +00:00
6f7db82b18
Add copy-mode-position-style and copy-mode-selection-style for copy
...
mode (they default to mode-style as before).
2024-11-26 15:52:41 +00:00
273f9b2027
Fix word navigation on lines with tabs, from Alexander Arch.
2024-11-20 20:54:02 +00:00
f527412d9b
Tidy up loop, from Alexander Arch.
2024-11-12 10:06:35 +00:00
713cacab1e
Mouse support on the scrollbars, from Michael Grant.
2024-11-12 09:32:56 +00:00
596ea62dc3
Some fixes for searching for tabs, from Alexander Arch.
2024-11-08 08:51:36 +00:00
09f4e43189
Add support for a scrollbar at the side of each pane. New options
...
pane-scrollbars turn them on or off, pane-scrollbars-position sets the
position (left or right), and pane-scrollbars-style to set the colours.
Mouse support will come later. From Michael Grant in GitHub issue 4221.
2024-11-05 09:41:17 +00:00
c8bd42de16
Match tab cells when searching, from Alexander Arch in GitHub issue
...
4201.
2024-10-28 08:16:51 +00:00
487b0ee124
Do not attempt to search for zero length strings, from Alexander Arch in
...
GitHub issue 4209.
2024-10-25 15:19:15 +00:00
eaec0a48f4
Do not stop stop at first padding in format_grid_line and handle tabs.
2024-10-25 15:13:10 +00:00
fdbc6cdea5
Flag tabs if possible in the grid cell so they can be preserved on
...
copying and capture-pane. From Alexander Arch in GitHub issue 4201.
2024-10-25 15:00:18 +00:00
df303770ea
Add function to get current offset from copy mode, from Michael Grant.
2024-10-21 12:39:49 +00:00
455a2b3705
Remove some debugging left behind.
2024-10-05 00:35:35 +00:00
9f2a853d87
Rework of copy mode commands ("send-keys -X") to parse the arguments so
...
that flags may be detected propertly rather than just looking for
strings ("-O" and so on). Also add -C and -P flags to the copy commands:
-C prevents the commands from sending the text to the clipboard and -P
prevents them from adding the text as a paste buffer.
Note some of the default key bindings change to add "--" and any similar
custom key bindings using "send-keys -X" may need a similar change.
GitHub issue 4153.
2024-10-04 07:03:08 +00:00
1c1f4c1219
Use global cursor style and colour options for modes instead of default,
...
GitHub issue 4117.
2024-10-01 08:01:19 +00:00
141cd78407
Display hyperlinks in copy mode and add copy_cursor_hyperlink format to
...
get the hyperlink under the cursor.
2024-08-27 07:49:07 +00:00
d0c8124661
Add search_count and search_count_partial formats in copy mode, GitHub
...
issue 4091.
2024-08-27 07:31:26 +00:00
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
5b5004e5ac
Revert part of the change for GitHub issue 3675 because it does not work
...
correctly, it was intended to skip lines that are already being searched
as part of a previous wrapped line but in fact is skipping all lines
except the last in wrapped lines.
Also revert the search-wrapped-lines option (I didn't realize it was
intended to work around this).
2024-05-14 09:32:37 +00:00
4c928dce74
Add an option to disable unwrapping lines for searching, from
...
meanderingprogrammer at gmail dot com, GitHub issue 3975.
2024-05-14 07:40:39 +00:00
ea9f416c99
correct indentation; no functional change
...
ok tb@
2024-04-23 13:34:51 +00:00
6207a45139
Fix selection present check, reported by M Kelly.
2024-03-26 10:20:20 +00:00
0c374868ca
Do not consider a selection present if it is empty, from Michael Grant
...
(GitHub issue 3869). Also a typo fix from GitHub issue 3877.
2024-03-21 11:26:28 +00:00
5aadee6df4
next-prompt can have 1 argument.
2023-11-02 10:38:14 +00:00
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
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
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
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
a10452be2d
Add scroll-top and scroll-bottom commands to scroll so cursor is at top
...
or bottom. From Anindya Mukherjee, GitHub issue 3334.
2022-09-28 07:59:50 +00:00
416c27c995
Add scroll-middle copy mode command to make cursor line in the middle,
...
from Varun Kumar E in GitHub issue 3307.
2022-08-23 08:14:19 +00:00
c6e7568471
Do not crash when searching for .* with extremely long lines. Reported
...
by Torbjorn Lonnemark, GitHub issue 3272.
2022-08-03 13:27:48 +00:00
a8da24771c
Clear marks when the search string changes. From Anindya Mukherjee,
...
GitHub issue 3255.
2022-07-22 07:14:07 +00:00
9c89f7c2af
Store time lines are scrolled into history and display in copy mode.
2022-06-21 09:30:01 +00:00
ccc9dc3bb4
If an application gives the first parameter to OSC 52, validate and pass
...
on to outside terminal. GitHub issue 3192.
2022-06-09 09:12:55 +00:00
cd89000c1d
Add a way for lines added to copy mode to be passed through the parser
...
to handle escape sequences and use it for run-shell, GitHub issue 3156.
2022-05-30 13:00:18 +00:00
5080acc127
Add a key in copy mode to toggle position indicator.
2022-02-03 07:26:43 +00:00
e4856de8bf
Do not crash on a zero size character.
2021-12-20 09:02:12 +00:00
759efe1b33
Add -e flag to set environment for popup, from Alexis Hildebrandt in
...
GitHub issue 2924.
2021-10-11 10:55:30 +00:00
caa8703a23
Spacing tweaks.
2021-08-20 20:04:22 +00:00
5f32b7d961
Hide struct args behind a couple of accessor functions.
2021-08-20 19:50:16 +00:00
c76b28de24
Remove some unnecessary blank lines.
2021-08-20 19:08:36 +00:00
e463e8622d
Remove stray spaces after function names.
2021-08-20 17:50:42 +00:00
01fd4b997e
Add pipe variants of the line copy commands. While here make the command
...
list less unreadable. GitHub issue 2813.
2021-08-11 20:35:46 +00:00
be5988457f
Change copy-line and copy-end-of-line not to cancel and add -and-cancel
...
variants, like the other copy commands. GitHub issue 2799.
2021-08-09 13:08:08 +00:00
43514f4af6
Fix rectangle selection, from Anindya Mukherjee, GitHub issue 2709.
2021-06-10 07:58:42 +00:00
77b1290698
More accurate vi(1) word navigation in copy mode and on the status line.
...
This changes the meaning of the word-separators option - setting it to
the empty string is equivalent to the previous behavior. From Will Noble
in GitHub issue 2693.
2021-06-10 07:56:47 +00:00
5900b164a4
Fix a couple of edge cases with the jump-back-xxx commands, and also
...
update back-to-indentation to use grid_reader, thereby fixing line
wrapping issues. From Anindya Mukherjee, GitHub issue 2633.
2021-04-05 08:43:48 +00:00