Commit Graph

10403 Commits

Author SHA1 Message Date
c8bd42de16 Match tab cells when searching, from Alexander Arch in GitHub issue
4201.
2024-10-28 08:16:51 +00:00
62e15e905b Treat tabs as a word separator, from Alexander Arch in GitHub issue
4201.
2024-10-28 08:16:06 +00:00
125a7b9177 Fix issues in the command prompt: set PROMPT_QUOTENEXT after quoting
than before, meaning that accidentally scrolling the mouse wheel doesn't
break quoting; and move the cursor correctly over wide characters. From
Alexander Arch in GitHub issue 4212.
2024-10-28 08:11:59 +00:00
895044c52b Merge branch 'obsd-master' 2024-10-25 22:01:10 +01:00
40c01c2d37 Allow tabs even on terminals without UTF-8, reported by jmc. 2024-10-25 19:36:38 +00:00
911d768b71 Merge branch 'obsd-master' 2024-10-25 18:01:11 +01:00
71a503e40c Allow control characters to be entered at the command prompt prefixed
with with C-v, from  Alexander Arch in GitHub issue 4206.
2024-10-25 15:32: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
9623ec3ee4 Merge branch 'obsd-master' 2024-10-25 10:01:07 +01:00
63582c154c Add a helper function for cell data comparison, from Alexander Arch. 2024-10-25 07:57:49 +00:00
914815e70f Merge branch 'obsd-master' 2024-10-21 16:01:07 +01:00
354926a956 Bump up the maximum for repeat-time (some people want it to be
effectively infinite).
2024-10-21 12:42:06 +00:00
df303770ea Add function to get current offset from copy mode, from Michael Grant. 2024-10-21 12:39:49 +00:00
a269c33a54 Merge branch 'obsd-master' 2024-10-21 10:01:08 +01:00
eb04f9314b Adjust how Ctrl and Meta keys are sent to use standard representation if
available in mode 1, from Stanislav Kljuhhin, GitHub issue 4188.
2024-10-21 07:38:06 +00:00
a9d0461839 Merge branch 'obsd-master' 2024-10-17 20:01:07 +01:00
71aa4fe767 Switch pane-colors and cursor-style options to be in alphabetical order,
from Teubel Gyorgy, GitHub issue 4191.
2024-10-17 17:22:01 +00:00
cfd3c02306 Allow attributes in menu style, from Japin Li in GitHub issue 4194. 2024-10-17 17:10:41 +00:00
35104059ed Merge branch 'obsd-master' 2024-10-15 00:01:10 +01:00
934035db71 Set ACS flag for REP. Reported by Romain Francoise, GitHub issue 4182. 2024-10-14 20:26:45 +00:00
8ff65230e1 Optimize sixel_print. Previously, the algorithm scanned each pixel several
times; once to find out which colors are active, and then once for every single
active color to actually construct the output string.

Now it constructs the compressed sixel patterns in the first pass (now x * 12
iters), so we can reduce the second pass (the really expensive part, at active
colors * x * 6 iters) to just appending these to the output buffer.

From nincsnevem662 at gmail dot com in GitHub issue 4184.
2024-10-14 11:05:59 +01:00
cb00e869ea Merge branch 'obsd-master' 2024-10-12 12:01:09 +01:00
f8b56fdc3f Call realpath on the source file to match -f on the command line, GitHub
issue 4180.
2024-10-12 08:20:32 +00:00
2d8b6fcf23 Do not rename a buffer to itself, GitHub issue 4181. 2024-10-12 08:13:52 +00:00
6ddee22f81 Portable tmux needs to check ENABLE_SIXEL. 2024-10-10 12:07:29 +01:00
66c738bc10 Merge branch 'obsd-master' 2024-10-10 12:01:08 +01:00
bcc47add38 Add a sixel_support format variable which is 1 if SIXEL is supported
(always 0 on OpenBSD), requested by Misaki Masa in GitHub issue 4177
2024-10-10 10:41:33 +00:00
d326c51d79 Merge branch 'obsd-master' 2024-10-08 12:01:09 +01:00
940fdf7ed0 Draw pane status line on the correct line when at the bottom, fixes
issues if the window size is smaller than the entire terminal. GitHub
issue 3943.
2024-10-08 09:40:50 +00:00
4f5d6d97d3 Merge branch 'obsd-master' 2024-10-08 10:01:08 +01:00
00412b570b Put the prompt cursor attributes into the status line screen and use
that rather than updating the current screen (since there might not be
one).
2024-10-08 06:29:44 +00:00
6a35b8ad07 Merge branch 'obsd-master' 2024-10-07 16:01:08 +01:00
735082b7c2 Add prompt-cursor-colour and prompt-cursor-style to set the style of the
cursor in the command prompt and remove the emulated cursor, from
Alexander Arch in GitHub issue 4170.
2024-10-07 12:58:36 +00:00
5b7bdc82c8 Merge branch 'obsd-master' 2024-10-07 12:01:08 +01:00
a3dea81b49 Add initial-repeat-time option to allow the first repeat time to be
increased and later reduced, from David le Blanc in GitHub issue 4164.
2024-10-07 08:50:47 +00:00
486221f206 Merge branch 'obsd-master' 2024-10-06 12:01:07 +01:00
9528d7470b Try to stay near the same line in modes if the current one is removed. 2024-10-06 09:30:22 +00:00
933d6b90ed Merge branch 'obsd-master' 2024-10-05 16:01:07 +01:00
a869693405 Send focus events to pane when entering or leaving popup, GitHub issue
3991.
2024-10-05 12:10:16 +00:00
114977dd25 Merge branch 'obsd-master' 2024-10-05 04:01:08 +01:00
aba8ffbe7b Merge branch 'obsd-master' 2024-10-05 02:01:07 +01:00
455a2b3705 Remove some debugging left behind. 2024-10-05 00:35:35 +00:00
e0638c48cd Add copy-mode-position-format to configure the position indicator. 2024-10-05 00:32:55 +00:00
41f6b691e3 Document missing window-layout-changed hook. 2024-10-04 22:36:11 +00:00
0f30fa34e3 Add install step. 2024-10-04 23:29:36 +01:00
e486f5ffdc Merge branch 'obsd-master' 2024-10-04 22:01:09 +01:00
5a68730e2f Add -y flag to disable confirmation prompts in modes, GitHub issue 4152. 2024-10-04 19:16:13 +00:00
16b44d2a5b Merge branch 'obsd-master' 2024-10-04 18:01:07 +01:00