aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Don't rely on a calculation wrapping when applying message-limit, andnicm2016-01-01
| | | | break out of the loop early. From Nicolas Viennot.
* Remove an extra unzoom call which was probably a merge error.nicm2015-12-31
|
* Use saved pipe buffer offset when writing to pipe, from Nicolas Viennot.nicm2015-12-31
|
* Couple of trivial style nits.nicm2015-12-28
|
* Repair switch-client -l and switch-client with a window target.nicm2015-12-23
|
* Detach the right session with -d.nicm2015-12-21
|
* Make input off flag (selectp -d) apply to synchronize-panes too.nicm2015-12-19
|
* As well as setting up the state, actually use it in cmd_find_target.nicm2015-12-17
|
* send-keys -R should reset the input parser to ground state (so it can benicm2015-12-16
| | | | used to escape from, for example, printf '\033]2;').
* Add infrastructure to work out the best target given a pane or windownicm2015-12-16
| | | | alone and use it to add pane_died and pane_exited hooks.
* showenv and setenv need to be CANFAIL.nicm2015-12-16
|
* Copy state directly rather than dereferencing wl (which could be NULL).nicm2015-12-15
|
* Some hooks API changes to fire a hook while waiting another cmdq andnicm2015-12-15
| | | | infrastructure that will be needed soon.
* Allow list-keys and list-commands to be run without a running server.nicm2015-12-15
|
* We changed somewhat recently to us the pty when tmux was run insidenicm2015-12-15
| | | | | | | | | | 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.
* Don't copy marked pane when can just point to it.nicm2015-12-15
|
* Make the marked pane a cmd_find_state.nicm2015-12-15
|
* Use cmd_find_clear_state instead of an extra function doing the same.nicm2015-12-14
|
* Remove some stray debug code.nicm2015-12-14
|
* Instead of combined flags for -c, -s, -t, split into different setsnicm2015-12-14
| | | | using an enum and simplify the parsing code.
* Use member names in cmd_entry definitions so I stop getting confusednicm2015-12-13
| | | | about the order.
* Actually I thought cmd_get_state_client was unnecessary but it will benicm2015-12-13
| | | | needed.
* -c needs to be able for fail for display-message.nicm2015-12-13
|
* Remove an unnecessary function.nicm2015-12-13
|
* show-options and environment need CANFAIL flag.nicm2015-12-13
|
* Don't log an error when doing the first check for move-window.nicm2015-12-13
|
* Use struct cmd_find_state directly and remove cmd_state_flag, alsonicm2015-12-13
| | | | change so that winlink is set even if an index is too.
* Change cmd_find_target to use a state struct from the caller.nicm2015-12-13
|
* If command returns error, report it.nicm2015-12-13
|
* Remove the cmd_find_{session,window,pane,index} functions (which arenicm2015-12-13
| | | | | just wrappers around cmd_find_target) and just use cmd_find_target directly.
* Move logging into cmd_find_target rather than each function.nicm2015-12-13
|
* Instead of every command resolving the target (-t or -s) itself, preparenicm2015-12-13
| | | | | | | | | | | | | | | | the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting. This is a requirement for having hooks on commands (for example, if you hook "select-window -t1:2", the hook command should to operate on window 1:2 not whatever it thinks is the current window), and should allow some other target improvements. The old cmd_find_* functions remain for the moment but that layer will be dropped later. Joint work with Thomas Adam.
* Add key-table option to set the default key table for a session, allowsnicm2015-12-12
| | | | different key bindings for different sessions and a few other things.
* Return after changing key table.nicm2015-12-12
|
* Allow prefix and prefix2 to be set to None to disable (useful if younicm2015-12-12
| | | | would rather bind the prefix in the root table).
* Style nits and line wrapping of function declarations.nicm2015-12-11
|
* Mention {src,dst}-{window,pane} where we define target-{window,pane}.nicm2015-12-11
|
* We cannot do hooks_find and then hooks_remove because it might have comenicm2015-12-11
| | | | | | | from the parent (global) tree, instead make it remove by name like options. While here, also tidy up a few bits of options and hooks handling (use RB_FOREACH_SAFE, and a helper function for the free).
* Check alerts when session changes, from Patrick Palka.nicm2015-12-11
|
* Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | command name (will also be used for more later).
* Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
|
* Spacing nits.nicm2015-12-08
|
* Ed was meant to be El;jmc2015-12-08
|
* Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm2015-12-08
| | | | | | couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam.
* Use ^= instead of a verbose alternative. ok nicm@mmcc2015-12-08
|
* Fix bell indicators across detach, reported by Torbjorn Lonnemark, diffnicm2015-12-07
| | | | from Thomas Adam.
* EAGAIN handling for imsg_read. OK henning@ benno@claudio2015-12-05
|
* Mark new active pane changed after pane lost in window, and afternicm2015-12-02
| | | | break-pane. Reported by tim@.
* Do not deref wp if window_get_active_at returns NULL which can happen onnicm2015-12-01
| | | | very large terminals, from Michael Graczyk.
* Delete a duplicated lineguenther2015-11-29
| | | | ok jmc@