nicm
79e1984962
O_TRUNC is needed in case file exists.
2021-02-11 09:03:38 +00:00
nicm
e40831a002
Move file handling protocol stuff all into file.c so it can be reused
...
more easily.
2021-02-11 08:28:45 +00:00
Nicholas Marriott
679b2288e8
Restore utf8proc bits that went missing, GitHub issue 2564.
2021-02-10 17:18:37 +00:00
Thomas Adam
5b6d4c4fd1
Merge branch 'obsd-master' into master
2021-02-10 08:01:20 +00:00
nicm
32186950f5
Use ~/.tmux.conf as an example rather than /etc/passwd, suggested by
...
deraadt@.
2021-02-10 07:17:07 +00:00
Thomas Adam
c6215b55e0
Merge branch 'obsd-master' into master
2021-02-09 16:01:18 +00:00
nicm
1492ae11a5
Do not expand times and #() inside #().
2021-02-09 14:25:40 +00:00
Thomas Adam
8d7f341a85
Merge branch 'obsd-master' into master
2021-02-08 16:01:21 +00:00
nicm
e3005e5ec4
Add "pipe" variants of the "copy-pipe" commands which do not copy, from
...
Christian Zangl.
2021-02-08 14:46:53 +00:00
Thomas Adam
fe3ab51b78
Merge branch 'obsd-master' into master
2021-02-08 10:01:20 +00:00
nicm
c579be1f2a
Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.
2021-02-08 08:33:54 +00:00
Thomas Adam
03430887be
Merge branch 'obsd-master' into master
2021-02-06 14:01:20 +00:00
nicm
1e29ebd412
In the end UTF-8 did not become a terminal feature, should not be listed
...
in man page.
2021-02-06 13:02:52 +00:00
Thomas Adam
39904f7fc6
Merge branch 'obsd-master' into master
2021-02-05 14:01:23 +00:00
nicm
3dddc11603
Send Unicode directional isolate characters around horizontal pane
...
borders if the terminal support UTF-8 and an extension terminfo(5)
capability "Bidi" is present. On terminals with BiDi support (ie, VTE)
this seems to be enough to display right-to-left text acceptably enough
to be usable (with some caveats about the mouse position). Requested by
and with help from Mahmoud Elagdar in GitHub issue 2425.
2021-02-05 12:29:18 +00:00
nicm
be471c328e
Add a -S flag to new-window to make it select the existing window if one
...
with the given name already exists rather than failing with an error.
Also add a format to check if a window or session name exists which
allows the same with other commands. Requested by and discussed with
kn@.
2021-02-05 12:23:49 +00:00
Nicholas Marriott
e3d71d9bdf
Add compat clock_gettime for older macOS. GitHub issue 2555.
2021-02-05 11:01:21 +00:00
Thomas Adam
3dd2e85075
Merge branch 'obsd-master' into master
2021-02-04 16:01:18 +00:00
nicm
c13f2e1135
Redraw status line and borders on pane enable/disable, GitHub issue 2554.
2021-02-04 14:02:24 +00:00
Thomas Adam
86955dbfe1
Merge branch 'obsd-master' into master
2021-02-02 14:01:19 +00:00
nicm
f0546b0ff8
Fix popup mouse position.
2021-02-02 13:03:03 +00:00
Thomas Adam
a5d69ab4b0
Merge branch 'obsd-master' into master
2021-02-02 08:01:19 +00:00
jmc
5c48086e5c
article fixes; from eddie youseph
2021-02-02 07:33:29 +00:00
Thomas Adam
0242513ce7
Merge branch 'obsd-master' into master
2021-02-01 10:01:20 +00:00
nicm
509221520c
Add a no-detached choice to detach-on-destroy which detaches only if
...
there are no other detached sessions to switch to, from Sencer Selcuk in
GitHub issue 2553.
2021-02-01 08:01:14 +00:00
Thomas Adam
545a610c6b
Merge branch 'obsd-master' into master
2021-01-29 12:01:21 +00:00
nicm
255802d8d7
Trim output overwritten by later text or clears completely rather than
...
only in a few cases. This means we can better track when a line should
wrap. GitHub issue 2537.
2021-01-29 09:48:43 +00:00
Thomas Adam
ffc159a456
Merge branch 'obsd-master' into master
2021-01-27 12:01:21 +00:00
nicm
8156d9ba41
Flush pending output before entering or exiting alternate screen rather
...
than leaking it, oss-fuzz issue 29959.
2021-01-27 10:42:52 +00:00
Thomas Adam
70a6af6287
Merge branch 'obsd-master' into master
2021-01-26 10:01:18 +00:00
nicm
d6542c333d
Always resize the original screen before copying when exiting the
...
alternate screen, GitHub issue 2536.
2021-01-26 09:32:52 +00:00
Thomas Adam
3b51abcf22
Merge branch 'obsd-master' into master
2021-01-22 14:01:18 +00:00
Thomas Adam
0898a868c6
Merge branch 'obsd-master' into master
2021-01-22 12:01:21 +00:00
nicm
9fcf413d87
Revert clear changes to writing as they don't work properly, better
...
change to come.
2021-01-22 11:28:33 +00:00
nicm
bba71f696f
Add rectangle-on and rectangle-off copy mode commands, GitHub isse 2546
...
from author at will dot party.
2021-01-22 10:24:52 +00:00
nicm
8d185395e4
Fix some cursor movement commands, from Anindya Mukherjee.
2021-01-22 10:21:24 +00:00
Thomas Adam
9ff017e908
Merge branch 'obsd-master' into master
2021-01-20 08:01:22 +00:00
nicm
fb774b77d0
Change so that window_flags escapes # automatically which means configs
...
will not have to change. A new format window_raw_flags contains the old
unescaped version.
2021-01-20 07:16:54 +00:00
Thomas Adam
82423975df
Merge branch 'obsd-master' into master
2021-01-18 14:01:21 +00:00
Thomas Adam
66da51b631
Merge branch 'obsd-master' into master
2021-01-18 12:01:22 +00:00
Nicholas Marriott
3c86fa2ad0
Add -Wno-format-y2k.
2021-01-18 11:14:37 +00:00
nicm
0730dce5ab
Hide some warnings on newer GCC versions, GitHUb issue 2525.
2021-01-18 11:14:23 +00:00
Nicholas Marriott
63f4a3c4e5
Extra result message.
2021-01-18 10:48:49 +00:00
nicm
91d112bf12
There is no need to clear every line entirely before drawing to it, this
...
means moving the cursor and messes up wrapping. Better to just clear the
sections that aren't written over. GitHub issue 2537.
2021-01-18 10:27:54 +00:00
Nicholas Marriott
4148417a2a
PKG_CHECK_MODULES needs to be separate.
2021-01-17 19:03:18 +00:00
Nicholas Marriott
607594f6e5
Show config.log on failure.
2021-01-17 18:47:14 +00:00
Nicholas Marriott
b18834be8a
Revert "Set CFLAGS also."
...
This reverts commit 032723c874
.
2021-01-17 18:24:52 +00:00
Nicholas Marriott
032723c874
Set CFLAGS also.
2021-01-17 18:21:54 +00:00
Nicholas Marriott
c6bcf3dba5
Fix yes/no for b64_ntop check.
2021-01-17 18:20:15 +00:00
Thomas Adam
24c15eda79
Merge branch 'obsd-master' into master
2021-01-17 18:01:21 +00:00