Commit Graph

116 Commits

Author SHA1 Message Date
01c4919f5f Merge branch 'obsd-master' 2022-06-30 16:37:18 +01:00
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
0a8f356c72 Spacing/style nits. 2022-05-30 12:55:25 +00:00
3a6d82b7c8 Some style nits. 2022-04-06 16:39:46 +01:00
b0ff446727 Merge branch 'obsd-master' into master 2022-04-01 14:01:11 +01:00
65c0af76fb Preserve CRLF flag when respawning. 2022-04-01 10:11:59 +00:00
77fc7ac3be Merge branch 'obsd-master' into master 2021-11-03 16:01:14 +00:00
57100376cc Add a cursor-style option, from Alexis Hildebrandt in GitHub issue 2960. 2021-11-03 13:37:17 +00:00
7d330c19e8 Merge branch 'obsd-master' into master 2021-11-01 12:01:12 +00:00
8d2286b769 Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue
2959.
2021-11-01 09:34:49 +00:00
479c9563c7 Merge branch 'obsd-master' into master 2021-10-05 16:01:13 +01:00
9b1fdb291e Separate "very visible" flag from blinking flag, it should not affect
DECSCUSR. GitHub issue 2891.
2021-10-05 12:46:02 +00:00
cf5e1bb80a Merge branch 'obsd-master' into master 2021-09-09 10:01:10 +01:00
5a4b2fd68c Fix parsing of aliases again (GitHub issue 2842), also make argument
parsing a bit simpler and fix the names of some client flags.
2021-09-09 06:57:48 +00:00
944fde7c57 Merge branch 'obsd-master' into master 2021-08-20 20:01:27 +01:00
e463e8622d Remove stray spaces after function names. 2021-08-20 17:50:42 +00:00
02a6b39db7 Improve logging of screen mode changes. 2021-06-10 07:43:44 +00:00
f9f97c8145 Change cursor style handling so tmux understands which sequences contain
blinking and sets the flag appropriately, means that it works whether
cnorm disables blinking or not. GitHub issue 2682.
2021-06-10 07:36:47 +00:00
64c276c23b Add an "always" value to the extended-keys option to always forward
these keys to applications inside tmux.
2021-06-10 07:24:10 +00:00
2e7ec8c0b9 Improve logging of screen mode changes. 2021-04-30 20:14:10 +01:00
589d3eb48f Change cursor style handling so tmux understands which sequences contain
blinking and sets the flag appropriately, means that it works whether cnorm
disables blinking or not. GitHub issue 2682.
2021-04-28 09:17:13 +01:00
8363c6af2e Add an "always" value to the extended-keys option to always forward these keys
to applications inside tmux.
2021-04-21 09:32:48 +01:00
7019937b52 Merge branch 'obsd-master' into master 2021-03-12 10:01:18 +00:00
e8224fb0d1 Fix so tmux correctly sends the cvvis (cursor very visible) capability
rather than sending it and then immediately undoing it with cnorm. Also
turn it off when the cursor shape is changed like xterm.
2021-03-12 08:39:17 +00:00
70a6af6287 Merge branch 'obsd-master' into master 2021-01-26 10:01:18 +00:00
d6542c333d Always resize the original screen before copying when exiting the
alternate screen, GitHub issue 2536.
2021-01-26 09:32:52 +00:00
d064060904 Merge branch 'obsd-master' 2020-10-30 14:01:20 +00:00
02197f20d0 Do not leak path when freeing screen, from Sergey Nizovtsev. 2020-10-30 11:33:41 +00:00
6ea6d46d0a Store and restore cursor position when copy mode is resized, from
Anindya Mukherjee.
2020-05-16 15:49:20 +00:00
e810f15272 Store and restore cursor position when copy mode is resized, from Anindya
Mukherjee.
2020-05-05 10:20:57 +01:00
8ae3915cc2 Merge branch 'obsd-master' 2020-04-22 12:01:38 +01:00
b72498c4ff Update the cursor position when deleting lines from screens without
history, GitHub issue 2173.
2020-04-22 08:48:44 +00:00
7da5418758 Merge branch 'obsd-master' 2020-04-18 20:01:29 +01:00
100db552d1 A resize can realloc so cannot cache the value of the list pointer. 2020-04-18 17:20:25 +00:00
2b83ee5557 Merge branch 'obsd-master' 2020-04-18 18:01:28 +01:00
ea5fdd5331 There is no point in keeping a bunch of different text buffers for each
line when writing, we only need one as big as the line width - there
can't be any more text than that since newer will overwrite older.
2020-04-18 15:12:28 +00:00
7a21e911e1 Merge branch 'obsd-master' 2020-04-17 16:01:33 +01:00
282a7a8d96 Make sure the cursor position is still on screen after we have trimmed
empty lines. Also improve some log messages.
2020-04-17 14:06:42 +00:00
6d6309014e Merge branch 'obsd-master' 2020-04-15 20:01:27 +01:00
53a29a2ffa Instead of fixing with the cursor position when the copied screen is
created, resize it and let the resize/reflow code fix it up and return
it. Solves various problems with cursor position and resizing when in
copy mode. With Anindya Mukherjee.
2020-04-15 17:50:02 +00:00
fe1778e377 Merge branch 'obsd-master' 2020-04-15 16:01:27 +01:00
c7883d5c87 Use grid_empty_line rather than memset when adding new lines on resize.
Also remove some old test code.
2020-04-15 12:59:20 +00:00
6a2f32b4fd Merge branch 'obsd-master' 2020-04-07 16:01:29 +01:00
1c8f7c1f7a Do not restore history flag if it was never set. 2020-04-07 13:55:24 +00:00
c9cd8f9b5d Merge branch 'obsd-master' 2020-03-31 10:01:29 +01:00
3bbd66c013 Move alternate screen into the screen rather than the pane. 2020-03-31 07:00:34 +00:00
54553903de Merge branch 'obsd-master' 2020-02-05 14:01:26 +00:00
fb29242168 Make list-keys description clearer in tmux.1 and remove an unused variable. 2020-02-05 13:06:49 +00:00
19d5f4a0bd Merge branch 'obsd-master' 2020-02-03 14:01:25 +00:00
265164d251 Instead of passing titles through vis() which doubles backslashes, just
ignore any containing control characters or invalid UTF-8. GitHub issue 2070.
2020-02-03 13:46:27 +00:00