Nicolas Viennot
16e1b82cb8
fix options scope
2015-12-23 05:58:09 -05:00
Nicolas Viennot
834fbfed0a
change log files prefix tmux- to tmate-
2015-12-23 05:57:43 -05:00
Nicolas Viennot
9b2778c439
Merge with latest tmux
2015-12-23 05:46:44 -05:00
Nicolas Viennot
f0d60cb1c8
update libssh/msgpack APIs
2015-12-23 04:37:06 -05:00
Nicolas Viennot
1670d15e8a
detect libssh/msgpack during ./configure
2015-12-23 04:36:57 -05:00
Alexander Bergmann
915b3a0255
Remove libssh and msgpack package forks and use system libraries.
2015-12-23 04:36:48 -05:00
Thomas Adam
ed65535c41
Merge branch 'obsd-master'
2015-12-23 02:01:14 +00:00
nicm
60cbdf9ccd
Repair switch-client -l and switch-client with a window target.
2015-12-23 00:12:57 +00:00
Thomas Adam
5083e93957
Merge branch 'obsd-master'
2015-12-21 10:01:08 +00:00
nicm
f2ec911b8a
Detach the right session with -d.
2015-12-21 09:20:13 +00:00
Nicholas Marriott
c83d6ee0b1
Merge branch 'master' of github.com:tmux/tmux
2015-12-20 11:26:12 +00:00
Nicholas Marriott
83c96d2685
No need to set cwd on Cygwin now, from Yuya Adachi.
2015-12-20 11:25:13 +00:00
Thomas Adam
58b3d66229
Merge branch 'obsd-master'
2015-12-19 10:01:08 +00:00
nicm
bdbec099cc
Make input off flag (selectp -d) apply to synchronize-panes too.
2015-12-19 08:43:04 +00:00
Thomas Adam
2ad9caad3f
Merge branch 'obsd-master'
2015-12-18 00:01:08 +00:00
nicm
a337403868
As well as setting up the state, actually use it in cmd_find_target.
2015-12-17 23:08:22 +00:00
Thomas Adam
e0cae08c04
Merge branch 'obsd-master'
2015-12-17 00:01:08 +00:00
nicm
99e9a4c786
send-keys -R should reset the input parser to ground state (so it can be
...
used to escape from, for example, printf '\033]2;').
2015-12-16 22:05:35 +00:00
Thomas Adam
7c94dae702
Merge branch 'obsd-master'
2015-12-16 22:01:08 +00:00
nicm
021c64310d
Add infrastructure to work out the best target given a pane or window
...
alone and use it to add pane_died and pane_exited hooks.
2015-12-16 21:50:37 +00:00
nicm
8eb1a7d5dc
showenv and setenv need to be CANFAIL.
2015-12-16 21:47:00 +00:00
Thomas Adam
f7a6482e6b
Merge branch 'obsd-master'
2015-12-15 16:01:12 +00:00
nicm
909b737289
Copy state directly rather than dereferencing wl (which could be NULL).
2015-12-15 14:32:55 +00:00
Thomas Adam
e5caf64815
Merge branch 'obsd-master'
2015-12-15 14:01:12 +00:00
nicm
ac9778395f
Some hooks API changes to fire a hook while waiting another cmdq and
...
infrastructure that will be needed soon.
2015-12-15 13:43:07 +00:00
Thomas Adam
1a33ea9671
Merge branch 'obsd-master'
2015-12-15 02:01:14 +00:00
nicm
9d88d82d5e
Allow list-keys and list-commands to be run without a running server.
2015-12-15 00:52:17 +00:00
nicm
6f417ec943
We changed somewhat recently to us the pty when tmux was run inside
...
itself to work out the current pane. This is confusing in many cases
(particularly notable is that "tmux neww\; splitw" would not split the
new window), and the few advantages do not make up for the confusion.
So drop this behaviour and return to using the current window and pane;
keep the pty check but only use it to limit the list of possible current
sessions.
2015-12-15 00:45:02 +00:00
nicm
56d097cfe0
Don't copy marked pane when can just point to it.
2015-12-15 00:11:24 +00:00
Thomas Adam
6ab17e3e15
Merge branch 'obsd-master'
2015-12-15 00:01:08 +00:00
nicm
12da13c9d1
Make the marked pane a cmd_find_state.
2015-12-15 00:00:01 +00:00
nicm
d5999f8b5c
Use cmd_find_clear_state instead of an extra function doing the same.
2015-12-14 23:30:58 +00:00
Thomas Adam
bc6137f9e4
Merge branch 'obsd-master'
2015-12-14 01:30:15 +00:00
nicm
a585a1b81a
Remove some stray debug code.
2015-12-14 00:32:19 +00:00
nicm
a3129fd4e8
Instead of combined flags for -c, -s, -t, split into different sets
...
using an enum and simplify the parsing code.
2015-12-14 00:31:54 +00:00
Thomas Adam
5caec3020d
Merge branch 'obsd-master'
2015-12-13 23:46:58 +00:00
Thomas Adam
f4adcfa0e2
Merge branch 'obsd-master'
2015-12-13 22:01:08 +00:00
nicm
ecfeee2e82
Use member names in cmd_entry definitions so I stop getting confused
...
about the order.
2015-12-13 21:53:57 +00:00
nicm
899bee0056
Actually I thought cmd_get_state_client was unnecessary but it will be
...
needed.
2015-12-13 21:17:37 +00:00
Thomas Adam
00da99f2c4
Merge branch 'obsd-master'
2015-12-13 20:01:09 +00:00
nicm
72948d9f1d
-c needs to be able for fail for display-message.
2015-12-13 18:31:47 +00:00
nicm
66d1193a00
Remove an unnecessary function.
2015-12-13 18:27:47 +00:00
nicm
fd47084224
show-options and environment need CANFAIL flag.
2015-12-13 18:15:13 +00:00
Thomas Adam
d37a580085
Merge branch 'obsd-master'
2015-12-13 18:01:11 +00:00
nicm
50f8ead4e6
Don't log an error when doing the first check for move-window.
2015-12-13 17:58:26 +00:00
nicm
9f5aca62a9
Use struct cmd_find_state directly and remove cmd_state_flag, also
...
change so that winlink is set even if an index is too.
2015-12-13 17:55:14 +00:00
nicm
9b7697db62
Change cmd_find_target to use a state struct from the caller.
2015-12-13 16:44:35 +00:00
nicm
208e2dad1e
If command returns error, report it.
2015-12-13 16:11:42 +00:00
Thomas Adam
ae5ddfdc1a
Merge branch 'obsd-master'
2015-12-13 16:01:13 +00:00
nicm
ff599f4004
Remove the cmd_find_{session,window,pane,index} functions (which are
...
just wrappers around cmd_find_target) and just use cmd_find_target
directly.
2015-12-13 15:32:12 +00:00