Commit Graph

9914 Commits

Author SHA1 Message Date
nicm
68c8905859 Do not call recalculate_sizes while clearing a client session because it
needs to loop over the clients, instead do it after all clients are
cleared. Fixes a crash reported by martijn@ when a session with multiple
clients attached is destroyed, but there are other sessions so tmux does
not entirely exit. ok deraadt
2021-09-27 19:12:00 +00:00
Thomas Adam
03f9963f3d Merge branch 'obsd-master' into master 2021-09-22 18:01:10 +01:00
nicm
257e9ba69a Fix command prompt with multiple prompts (add the result onto the list
again as we go along). ok deraadt
2021-09-22 15:21:44 +00:00
Nicholas Marriott
9c77a5b9f0 Remove duplicate. 2021-09-21 10:03:38 +01:00
Nicholas Marriott
b2482535d0 Crosscompiling defaults from Romain Francoise. 2021-09-21 09:54:50 +01:00
Nicholas Marriott
097a792f9d Update obsolete autoconf macros, from "kylo252" GitHub issue 2900. 2021-09-21 09:53:44 +01:00
Thomas Adam
25df71b90d Merge branch 'obsd-master' into master 2021-09-17 10:01:10 +01:00
nicm
c4b969ca62 Do not destroy sessions twice, GitHub issue 2889. 2021-09-17 07:20:49 +00:00
Thomas Adam
409e121cac Merge branch 'obsd-master' into master 2021-09-16 10:01:11 +01:00
nicm
3c3d371f99 Fix run-shell -d with no command, GitHub issue 2885. 2021-09-16 06:39:22 +00:00
Nicholas Marriott
8554b80b8b Merge tag '3.3-rc'
3.3-rc
2021-09-15 14:08:15 +01:00
Nicholas Marriott
3be44313aa Next is 3.4. 2021-09-15 14:07:42 +01:00
Nicholas Marriott
ed280e14c8 Missing header. 2021-09-15 14:03:19 +01:00
Nicholas Marriott
86d505af46 3.3-rc. 2021-09-15 13:42:50 +01:00
Nicholas Marriott
7186ab25c9 Those were already there... 2021-09-15 13:40:51 +01:00
Nicholas Marriott
a049ebd6f7 And more CHANGES. 2021-09-15 13:37:39 +01:00
Nicholas Marriott
adb620c4e4 Update CHANGES. 2021-09-15 13:35:08 +01:00
Thomas Adam
2b9830f0e7 Merge branch 'obsd-master' into master 2021-09-15 10:01:10 +01:00
nicm
a19cac5c46 For the moment, restore if-shell and run-shell to parsing at the last
moment (when the shell command completes) rather than when first
invoked, GitHub issue 2872.
2021-09-15 07:38:30 +00:00
Nicholas Marriott
ddcf5b801a Mention FAQ, from Illia Bobyr. 2021-09-13 07:57:37 +01:00
Thomas Adam
b28fffc0f7 Merge branch 'obsd-master' into master 2021-09-10 18:01:11 +01:00
nicm
e6b40cb339 Do fatal/fatalx a different way so the compiler trick to avoid warnings
becomes unnecessary, prompted by theo.
2021-09-10 15:03:18 +00:00
nicm
33ac7a346e Get rid of the last two warnings by turning them off around the problem
statements, if the compiler supports it.
2021-09-10 14:22:24 +00:00
Nicholas Marriott
3b10392bfc Icons, from someone on GitHub in issue 2870. 2021-09-10 15:00:58 +01:00
Thomas Adam
3358c9a8f1 Merge branch 'obsd-master' into master 2021-09-10 12:01:10 +01:00
nicm
5cdc1bdd32 Disable aliases inside aliases for the moment. 2021-09-10 08:52:46 +00:00
Thomas Adam
31a6e5eff4 Merge branch 'obsd-master' into master 2021-09-10 02:01:12 +01:00
nicm
768fb9080f Keep -? as usage. 2021-09-09 21:55:03 +00:00
Thomas Adam
42b0be4cfd Merge branch 'obsd-master' into master 2021-09-09 22:01:11 +01:00
nicm
a0b39dba31 Turn on both button and all mouse modes for menus since some terminals
only support the former.
2021-09-09 19:37:17 +00:00
Thomas Adam
732288c489 Merge branch 'obsd-master' into master 2021-09-09 16:01:09 +01:00
nicm
34312fd6ee Expand argument to run-shell again. 2021-09-09 13:38:32 +00:00
Thomas Adam
cf5e1bb80a Merge branch 'obsd-master' into master 2021-09-09 10:01:10 +01:00
nicm
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
Thomas Adam
d776c9acfc Merge branch 'obsd-master' into master 2021-09-02 10:01:09 +01:00
nicm
329c2c2a91 Change copying arguments to that flags without arguments are inserted
correctly and empty arguments lists do not crash. Fixes crash reported
by & ok mpi@.
2021-09-02 07:11:03 +00:00
Nicholas Marriott
d62aee506b Regress conf from https://raw.githubusercontent.com/lacygoill/config/master/.config/tmux/tmux.conf. 2021-08-30 08:24:43 +01:00
Nicholas Marriott
388f0fe973 Update CHANGES. 2021-08-30 08:17:38 +01:00
Thomas Adam
609baea95e Merge branch 'obsd-master' into master 2021-08-27 20:01:11 +01:00
nicm
daec63e5e6 Replace %% in command lists (by copying them) for template arguments ,
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub issue 2858.
2021-08-27 17:25:55 +00:00
nicm
fd756a150b Allow control mode clients to set a hard limit on the window width and
height, GitHub issue 2594.
2021-08-27 17:15:57 +00:00
Thomas Adam
c6375a0d40 Merge branch 'obsd-master' into master 2021-08-25 12:01:11 +01:00
nicm
24636be42b Improve some logging. 2021-08-25 10:18:01 +00:00
nicm
f4f8d3b5ed Ignore client creating session when working out size if it is a control
client.
2021-08-25 10:15:15 +00:00
Nicholas Marriott
6616b42b2c Fix test. 2021-08-25 10:24:33 +01:00
nicm
a3c6057b51 bind-key needs to allow commands for any argument for the moment. 2021-08-25 09:18:08 +00:00
Thomas Adam
c7266ca78d Merge branch 'obsd-master' into master 2021-08-25 10:01:10 +01:00
nicm
03d173cbd8 Validate command argument types (string or command list) and give more
useful error messages.
2021-08-25 08:51:55 +00:00
nicm
c6d6af4903 setupterm needs char * not const char * on some platforms. 2021-08-25 07:37:20 +00:00
Nicholas Marriott
6ac09aa47c Disable a couple of warnings on macOS. 2021-08-25 08:36:51 +01:00