nicm
d0c992306d
Fix some compiler warnings; from Thomas Adam.
2018-06-11 11:14:10 +00:00
Thomas Adam
54c2d48d7d
Merge branch 'obsd-master'
2018-06-09 19:02:29 +01:00
nicm
e6cbeb4f38
Make it possible to resize multiple panes by dragging corners, from Dan
...
Aloni in GitHub issue 1376.
2018-06-09 17:05:52 +00:00
Thomas Adam
4581240ced
Merge branch 'obsd-master'
2018-06-08 23:02:25 +01:00
nicm
f6bad7efd7
Instead of working out which pane to resize with the mouse by walking
...
the panes list, look through the layout cells for the nearest border and
resize that cell. From Dan Aloni in GitHub issue 1374.
2018-06-08 20:54:22 +00:00
Thomas Adam
713e0ddef3
Merge branch 'obsd-master'
2018-06-08 13:02:25 +01:00
nicm
ff45b2d343
Tweak previous - check for a NULL client and simplify manual text.
2018-06-08 09:43:58 +00:00
Thomas Adam
91280f1fca
Linux: include sys/file.h for flock()
2018-06-07 09:17:05 +01:00
Thomas Adam
7de25d86e1
Merge branch 'obsd-master'
2018-06-03 13:02:31 +01:00
nicm
ba31d3a88c
Increment the lines counter when skipping a line to avoid an infinite
...
loop, and fix a check to avoid a potential out-of-bounds access. Problem
reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue
1352.
Also a man page fix request by jmc@.
2018-06-03 10:17:30 +00:00
Thomas Adam
54cd292f09
Merge branch 'obsd-master'
2018-05-29 11:02:26 +01:00
nicm
d1f5142dab
If foo doesn't exist and can't be expanded in #{?foo,a,b} then assume it
...
is false.
2018-05-29 09:10:30 +00:00
Thomas Adam
058d2b94dc
Merge branch 'obsd-master'
2018-05-28 15:02:31 +01:00
nicm
c177a627d2
When looking for panes, ignore dead ones (with -1 file
...
descriptor). GitHub issue 1354.
2018-05-28 11:50:47 +00:00
Nicholas Marriott
8f8e0975f1
Add format string test, from "sadie-parayno" in GitHub issue 1358.
2018-05-28 12:48:15 +01:00
nicm
b602c1fb9a
Document escaping inside conditionals, from "sadie-parayno" in GitHub
...
issue 1359.
2018-05-28 11:45:26 +00:00
Thomas Adam
7448b38327
Merge branch 'obsd-master'
2018-05-24 13:02:29 +01:00
Thomas Adam
85d5a377c5
Merge branch 'obsd-master'
2018-05-24 11:02:25 +01:00
nicm
b9a6162d2f
Make server_client_get_cwd used (almost) everywhere we need to work out
...
the cwd, and do not fall back to "." as it is pretty useless. GitHub
issue 1331.
2018-05-24 09:42:49 +00:00
nicm
8f5903d7c3
Improve logging of the environment etc for new panes.
2018-05-24 09:34:54 +00:00
Thomas Adam
f0ac0d6793
Merge branch 'obsd-master'
2018-05-22 11:02:33 +01:00
nicm
2a04665626
Allow escaping , and } with # in #{}; GitHub issue 1332.
2018-05-22 08:49:12 +00:00
Nicholas Marriott
07c0970f54
Sync tmux description with manual.
2018-05-22 08:02:43 +01:00
Thomas Adam
546123f950
Merge branch 'obsd-master'
2018-05-20 15:02:25 +01:00
nicm
f2f9605c63
-T should not actually select the pane.
2018-05-20 11:48:34 +00:00
Thomas Adam
e4e060f2be
Merge branch 'obsd-master'
2018-05-15 17:02:31 +01:00
nicm
e3b034fac7
Fix switch-client -l, from Jean-Marc Eurin in GitHub issue 1343.
2018-05-15 14:58:09 +00:00
Thomas Adam
82c0eed36d
Merge branch 'obsd-master'
2018-05-09 19:02:35 +01:00
nicm
80994a8de1
Mention allow-rename with \033k.
2018-05-09 16:20:50 +00:00
Thomas Adam
9e1093b7d7
Merge branch 'obsd-master'
2018-05-09 11:02:26 +01:00
nicm
f2029f9d9e
Another check for NULL window if looking for index.
2018-05-09 07:50:03 +00:00
Thomas Adam
b2a2c3a1e9
Merge branch 'obsd-master'
2018-05-07 17:02:31 +01:00
nicm
f915a4bf0c
Handle terminfo colors > 256 correctly, GitHub issue 1337.
2018-05-07 13:39:09 +00:00
Thomas Adam
91b220525b
Merge branch 'obsd-master'
2018-05-04 11:02:31 +01:00
nicm
988c6bc433
Improve logging of sessions.
2018-05-04 08:21:42 +00:00
Thomas Adam
1d858aa89e
Merge branch 'obsd-master'
2018-05-03 19:02:26 +01:00
nicm
e24a077752
Use window target if specified and exists even when looking for an
...
index, fixes neww -a with -t as well.
2018-05-03 16:56:59 +00:00
Thomas Adam
645fe9013f
Merge branch 'obsd-master'
2018-04-26 17:02:31 +01:00
guenther
896c1da7da
Use <fcntl.h> instead of <sys/file.h> for open() and friends.
...
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
2018-04-26 12:42:51 +00:00
Thomas Adam
d24bd7394d
Merge branch 'obsd-master'
2018-04-23 17:02:32 +01:00
Nicholas Marriott
aebb17dc75
Sync imsg from OpenBSD.
2018-04-23 15:40:15 +01:00
nicm
d9d2f84a4b
Add KRB5CCNAME to update-environment.
2018-04-23 14:03:06 +00:00
nicm
068d1b97b2
#aabbcc will use RGB if supported so don't say it is closest match.
2018-04-23 13:51:21 +00:00
nicm
4bf6f2706e
Check whether cursor is at start or end when copying rectangular
...
selections, from tb@.
2018-04-23 13:46:34 +00:00
nicm
9f39652d87
Remove unnecessary brackets.
2018-04-23 13:43:08 +00:00
Thomas Adam
c48440fd40
Merge branch 'obsd-master'
2018-04-23 11:02:27 +01:00
nicm
1afe71cc0a
rxvt-unicode has some funny behaviour when scrolling with the cursor not
...
at column 1, so move it back there first if possible. GitHub issue 1318.
2018-04-23 07:41:30 +00:00
Thomas Adam
0e1b339c10
Merge branch 'obsd-master'
2018-04-18 17:02:28 +01:00
nicm
3dceddd70e
Change how display-message uses the client. Originally it was only
...
intended as the target client where the message should be displayed but
at some point (perhaps when -p was added), it was used for format
expansion too. This means it can get a bit weird where you have client
formats expanding for a client with a different current session than the
target session.
However, it is nice that display-message can be used to show information
about a specific client. So change so that the -c client will be used if
the session matches the target session (-t or default), otherwise the
best client will be chosen.
2018-04-18 14:35:37 +00:00
nicm
2595718dd3
Include source function name in grid_check_y logging.
2018-04-18 14:31:42 +00:00