nicm
d980d965dd
Limit x, y and b to 0x7ff for UTF-8 mouse input, suggested by schwarze@.
2016-03-02 15:33:36 +00:00
nicm
f0239a8fe9
Remove some more unused variables, and use RB_FOREACH_SAFE in
...
key_bindings_unref_table.
2016-03-01 12:06:07 +00:00
nicm
2e4503ad4e
Redraw status on mode entry and exit.
2016-03-01 12:05:15 +00:00
nicm
54ea8f74ae
When a mouse drag is finished, fire a MouseUp key press, instead of
...
doing the drag end in code. From Stephen Coakley.
2016-03-01 12:04:43 +00:00
nicm
e647eeb0c9
Remove unused variables, from Michal Mazurek.
2016-03-01 12:02:54 +00:00
nicm
26945d7956
Use system wcwidth() instead of carrying around UTF-8 width tables.
2016-03-01 12:02:08 +00:00
nicm
c7851e0ee7
Fix break-pane synopsis and some other tmux.1 bits.
2016-03-01 11:58:45 +00:00
nicm
4f6bc0a0a9
Expand client formats in run-shell.
2016-02-12 12:24:52 +00:00
nicm
bc0c9c7920
Do not wrap cursor at start or end of history, from Michal Mazurek.
2016-02-05 10:20:06 +00:00
nicm
bdb8bb790e
Set up -t flag properly when passing new-session -A off to
...
attach-session, GitHub issue 295.
2016-02-04 14:11:20 +00:00
nicm
97882f9ce2
Clear RGB flags during selection.
2016-01-31 14:11:49 +00:00
nicm
fa64b89ad7
Whoops, need this for the previous reverse trim commit too.
2016-01-31 09:57:41 +00:00
nicm
49e9f93738
Add RGB escape sequences for capture-pane -e.
2016-01-31 09:57:09 +00:00
nicm
8028560f82
Support negative trim values (#{=-10:pane_title}) to trim from the end,
...
suggested by Kevin Brubeck Unhammer.
2016-01-31 09:54:46 +00:00
nicm
225a384dbb
Fix new-session with -t after command flags changes, reported by Michael Graczyk.
2016-01-31 09:52:01 +00:00
nicm
427b820426
Support for RGB colour, using the extended cell mechanism to avoid
...
wasting unnecessary space. The 'Tc' flag must be set in the external
TERM entry (using terminal-overrides or a custom terminfo entry), if not
tmux will map to the closest of the 256 or 16 colour palettes.
Mostly from Suraj N Kurapati, based on a diff originally by someone else.
2016-01-29 11:13:56 +00:00
nicm
b5b5221c13
Split out getting the current state from the target search so it can be
...
replaced if we already know the current.
2016-01-19 16:01:30 +00:00
nicm
995af0e2b7
I no longer use my SourceForge address so replace it.
2016-01-19 15:59:12 +00:00
nicm
c9815307eb
Add hooks for alerts (bell, silence, activity), from Thomas Adam.
2016-01-16 00:36:53 +00:00
nicm
d551ab8e5c
Clear the environment properly by looping until it is empty rather than
...
looping over it (which may skip entries), from Brad King.
2016-01-15 11:33:41 +00:00
nicm
68d797587e
A couple of missing printflike attributes, from Andrey Starodubtsev.
2016-01-15 11:31:47 +00:00
nicm
cfb78654c2
clock-mode needs CMD_PANE.
2016-01-02 17:16:25 +00:00
nicm
311be04d61
Don't rely on a calculation wrapping when applying message-limit, and
...
break out of the loop early. From Nicolas Viennot.
2016-01-01 08:04:20 +00:00
nicm
7e67db79dc
Remove an extra unzoom call which was probably a merge error.
2015-12-31 18:34:47 +00:00
nicm
f84d32ca5e
Use saved pipe buffer offset when writing to pipe, from Nicolas Viennot.
2015-12-31 18:14:13 +00:00
nicm
2a1f27eb1a
Couple of trivial style nits.
2015-12-28 14:02:52 +00:00
nicm
60cbdf9ccd
Repair switch-client -l and switch-client with a window target.
2015-12-23 00:12:57 +00:00
nicm
f2ec911b8a
Detach the right session with -d.
2015-12-21 09:20:13 +00:00
nicm
bdbec099cc
Make input off flag (selectp -d) apply to synchronize-panes too.
2015-12-19 08:43:04 +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
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
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
nicm
909b737289
Copy state directly rather than dereferencing wl (which could be NULL).
2015-12-15 14:32:55 +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
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
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
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
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
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
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