aboutsummaryrefslogtreecommitdiff
path: root/cmd-split-window.c
Commit message (Collapse)AuthorAge
...
| * Like options, move the environ struct into environ.c.nicm2015-10-28
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile client.c server-client.c server.c tmux.c tmux.h
| * Move struct options into options.c.nicm2015-10-27
| |
* | Merge branch 'obsd-master'Thomas Adam2015-10-25
|\| | | | | | | | | Conflicts: cmd-find.c
| * Remove some unnecessary checks before free().nicm2015-10-23
| |
* | Merge branch 'obsd-master'Thomas Adam2015-04-27
|\| | | | | | | | | | | Conflicts: Makefile tmux.1
| * Remove panes from layout if spawning them fails, reported by Anthony Jnicm2015-04-26
| | | | | | | | Bentley.
* | Merge branch 'obsd-master'Thomas Adam2015-02-06
|\| | | | | | | | | Conflicts: cmd-pipe-pane.c
| * Remove a couple of now-unused variables.nicm2015-02-05
| |
| * Wrap all the individual format_* calls in a single format_defaultsnicm2015-02-05
| | | | | | | | functions.
* | Merge branch 'obsd-master'Thomas Adam2014-11-19
|\|
| * Add -b to splitw like joinw, from Felix Rosencrantz.nicm2014-11-12
| |
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Move template defines back into .c files.nicm2014-10-20
| |
| * Instead of setting up the default keys by building the key structnicm2014-10-20
| | | | | | | | | | | | | | | | | | directly with a helper function in the cmd_entry, include a table of bind-key commands and pass them through the command parser and a temporary cmd_q. As well as being smaller, this will allow default bindings to be command sequences which will probably be needed soon.
* | Merge branch 'obsd-master'Thomas Adam2014-09-25
|\|
| * Various minor style and spacing nits.nicm2014-09-01
| |
* | Merge branch 'obsd-master'Thomas Adam2014-05-13
|\| | | | | | | | | | | Conflicts: format.c window.c
| * If multiple arguments are given to new-session, new-window,nicm2014-05-13
| | | | | | | | | | | | split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor.
* | Merge branch 'obsd-master'Thomas Adam2014-04-23
|\| | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Set PATH explicitly, either from client or sessionnicm2014-04-17
| | | | | | | | | | environment. Previously it came from the session environment. From J Raynor.
* | Merge branch 'obsd-master'Thomas2014-01-20
|\|
| * Handle empty current directory more gracefully.nicm2013-11-22
| |
| * Don't boke when figuring out working directory from configuration file.nicm2013-10-10
| |
| * Alter how tmux handles the working directory to internally use filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
| * Support -c for new-session, based on code from J Raynor.nicm2013-10-10
| |
* | Don't boke when figuring out working directory from configuration file.Nicholas Marriott2013-10-06
| |
* | Alter how tmux handles the working directory to internally use file descriptorsNicholas Marriott2013-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '', do: bind c neww -c '#{pane_current_path}' The equivalent of default-path '~' is left as an exercise for the reader. This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
* | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-10-01
|\ \
| * | Restore missing key binding for %, from Chris Johnsen.Nicholas Marriott2013-10-01
| | |
* | | Support -c for new-session, based on code from J Raynor.Nicholas Marriott2013-10-01
|/ /
* | Remove the barely-used and unnecessary command check() function.Nicholas Marriott2013-08-21
| |
* | Merge branch 'obsd-master'Thomas2013-03-25
|\|
| * Revert the command-prefix change which breaks sequences of commands.Nicholas Marriott2013-03-25
| |
| * Add resize-pane -Z to temporary zoom the active pane to occupy the fullNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | window or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z by default. The pane is unzoomed on pretty much any excuse whatsoever. We considered making this a new layout but the requirements are quite different from layouts so decided it is better as a special case. Each current layout cell is saved, a temporary one-cell layout generated and all except the active pane set to NULL. Prompted by suggestions and scripts from several. Thanks to Aaron Jensen and Thiago Padilha for testing an earlier version.
| * Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
| * Fix error reporting for client commands by adding a flag toNicholas Marriott2013-03-24
| | | | | | | | | | cmd_find_client to tell it whether or not to show errors, sometimes it's needed and sometimes not.
* | Add resize-pane -Z to temporary zoom the active pane to occupy the full windowNicholas Marriott2013-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z by default. The pane is unzoomed on pretty much any excuse whatsoever. We considered making this a new layout but the requirements are quite different from layouts so decided it is better as a special case. Each current layout cell is saved, a temporary one-cell layout generated and all except the active pane set to NULL. Prompted by suggestions and scripts from several. Thanks to Aaron Jensen and Thiago Padilha for testing an earlier version.
* | Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
* | Fix error reporting for client commands by adding a flag to cmd_find_client toNicholas Marriott2013-02-22
| | | | | | | | tell it whether or not to show errors, sometimes it's needed and sometimes not.
* | Add option command-prefix which is automatically prepended to any commandNicholas Marriott2013-02-22
| | | | | | | | (apart from a naked default-shell). The default is "exec ".
* | Merge branch 'obsd-master'Thomas Adam2012-12-31
|\| | | | | | | Sync from OpenBSD.
| * Use the CMD_*_USAGE defines consistently, from Thomas Adam.Nicholas Marriott2012-12-09
| |
| * Use a separate define for each default format template and strip clutterNicholas Marriott2012-08-14
| | | | | | | | from the choose-tree defaults.
| * Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott2012-07-11
| | | | | | | | | | | | add a new value to mean "leave client running but don't attach" to fix problems with using some commands in a command sequence. Most of the work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
| * xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
| |
| * Switch all of the various choose- and list- commands over to the formatNicholas Marriott2012-05-22
| | | | | | | | infrastructure, from Thomas Adam.
| * Add notify hooks for various events, the functions are currently emptyNicholas Marriott2012-03-17
| | | | | | | | stubs but will be filled in for control mode later. From George Nachman.
| * free -> xfree.Nicholas Marriott2012-03-04
| |