aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
| | * First period not last for host_short, from Michael Scholz.nicm2013-10-10
| | |
| | * Allow nested format expansion.nicm2013-10-10
| | |
| | * Add length limit operator for formats.nicm2013-10-10
| | |
| | * Add formats for window flags.nicm2013-10-10
| | |
* | | 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.
* | | First period not last for host_short, from Michael Scholz.Nicholas Marriott2013-10-01
| | |
* | | Add automatic-rename-format option allowing automatic rename to use somethingNicholas Marriott2013-08-19
| | | | | | | | | | | | other than pane_current_command.
* | | Allow nested format expansion.Nicholas Marriott2013-08-19
| | |
* | | Add length limit operator for formats.Nicholas Marriott2013-08-03
| | |
* | | Add formats for window flags.Nicholas Marriott2013-08-01
| | |
* | | Don't leak formats if they are added multiple times.Nicholas Marriott2013-08-01
| | |
* | | Don't add client formats when they are NULL.Nicholas Marriott2013-08-01
|/ /
* | Merge branch 'obsd-master'Thomas Adam2013-07-06
|\|
| * Add pane_synchronized format, from Romain Francoise.Nicholas Marriott2013-07-05
| |
* | Merge branch 'obsd-master'Thomas Adam2013-05-31
|\|
| * Add host_short format, from Tiago Cunha.Nicholas Marriott2013-05-31
| |
* | Merge branch 'obsd-master'Thomas Adam2013-04-23
|\| | | | | | | Sync from OpenBSD.
| * (long long) and %lld for time_t outputTheo Deraadt2013-04-17
| | | | | | | | ok nicm
| * Include prefix on ids, from George Nachman.Nicholas Marriott2013-03-25
| |
| * Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott2013-03-25
| | | | | | | | to use it, extended from a diff from George Nachman.
| * Do not leak command in formats, from Romain Francoise.Nicholas Marriott2013-03-25
| |
| * 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.
| * Add pane_tabs format to format_window_pane based on code from GeorgeNicholas Marriott2013-03-24
| | | | | | | | Nachman.
| * Add a load of miscellaneous pane formats, from George Nachman.Nicholas Marriott2013-03-22
| |
| * Add client_session and client_last_session formats.Nicholas Marriott2013-03-22
| |
| * Add a format client_prefix which is 1 if prefix key has beenNicholas Marriott2013-03-21
| | | | | | | | | | pressed, used for example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
* | Include prefix on ids, from George Nachman.Nicholas Marriott2013-03-13
| |
* | Rename session idx to session id throughout and add $ prefix to targets to useNicholas Marriott2013-03-07
| | | | | | | | it, extended from a diff from George Nachman.
* | Do not leak command in formats, from Romain Francoise.Nicholas Marriott2013-03-05
| |
* | 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.
* | Add pane_tags format to format_window_pane based on code from George Nachman.Nicholas Marriott2013-02-23
| |
* | Add pane_current_command format.Nicholas Marriott2013-02-22
| |
* | Add a load of miscellaneous pane formats, from George Nachman.Nicholas Marriott2013-02-21
| |
* | Add client_session and client_last_session formats.Nicholas Marriott2013-02-18
| |
* | Add a format client_prefix which is 1 if prefix key has been pressed, used forNicholas Marriott2013-02-10
| | | | | | | | example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
* | Allow formats in status options.Nicholas Marriott2013-02-10
| |
* | Use osdep_get_cwd() for format changeThomas Adam2013-02-07
| |
* | Merge branch 'obsd-master'Thomas Adam2013-02-07
|\|
| * Don't set some string formats if the string is NULL.Nicholas Marriott2013-02-05
| |
* | Merge branch 'obsd-master'Thomas Adam2013-01-30
|\| | | | | | | | | | | Conflicts: Makefile grid-utf8.c
| * Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott2013-01-18
| | | | | | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
| * Use pgrp of pty fd not pid of immediate child when recovering currentNicholas Marriott2012-09-24
| | | | | | | | working directory (like current process). From Marcel Partap.
| * 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 pane_current_path format, suggested by Mikolaj Kucharski.Nicholas Marriott2012-04-01
| |
| * Get client_width and client_height the right way round, from StephenNicholas Marriott2012-02-02
| | | | | | | | Thirlwall.
| * Give each window a unique id, like panes but prefixed with @. Based onNicholas Marriott2012-01-30
| | | | | | | | work from George Nachman.
| * Add a pane_index format string and use it, from Ben Boeckel.Nicholas Marriott2011-11-15
| |
| * Add client formats, from Ben Boeckel.Nicholas Marriott2011-10-23
| |
| * Add a few more formats for panes (tty, pid, start cmd/cwd).Nicholas Marriott2011-10-02
| |