aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* | 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.
* | Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.Nicholas Marriott2013-10-06
| |
* | Instead of fixed size buffers for some messages, send only the string length.Nicholas Marriott2013-10-06
| |
* | retcode -> retval for exit message.Nicholas Marriott2013-10-06
| |
* | Merge IDENTIFY_* flags with CLIENT_* flags.Nicholas Marriott2013-10-06
| |
* | Bump protocol version and add new message types.Nicholas Marriott2013-10-06
| |
* | Remove CMD_SENDENVIRON.Nicholas Marriott2013-10-06
| |
* | Support -c for new-session, based on code from J Raynor.Nicholas Marriott2013-10-01
| |
* | No space in lsw -a targets.Nicholas Marriott2013-08-28
| |
* | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-08-21
|\ \
| * | Clear window->flags when clearing winlinksThomas2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that window, clear the window->flags as well, otherwise sessions may well still see flags for winlinks long since cleared. This therfore introduces WINDOW_ALERTFLAGS to help with this.
* | | Remove the barely-used and unnecessary command check() function.Nicholas Marriott2013-08-21
|/ /
* | Add automatic-rename-format option allowing automatic rename to use somethingNicholas Marriott2013-08-19
| | | | | | | | other than pane_current_command.
* | Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can beNicholas Marriott2013-08-01
| | | | | | | | NULL. Avoids crash when a command in a command client can't be parsed.
* | Add support for Cgywin, apparently it is enough just to open the tty again inNicholas Marriott2013-07-12
| | | | | | | | | | | | the server and fd passing is not necessary. Needs some ifdefs unfortunately but no way around that and some of them can go next time we're willing to do a protocol bump. Patch from J Raynor jxraynor at gmail dot com.
* | Merge branch 'obsd-master'Thomas Adam2013-07-06
|\|
| * Implement s, S, C mode switch commands in vi(1) mode, from Ben Boeckel.Nicholas Marriott2013-07-05
| |
| * Focus events can cause trouble if left on and they can't be turned offNicholas Marriott2013-06-23
| | | | | | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
* | Focus events can cause trouble if left on and they can't be turned offNicholas Marriott2013-06-28
| | | | | | | | | | during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
* | Don't set TMUX_CONF in tmux.h.Nicholas Marriott2013-06-25
| |
* | Merge branch 'obsd-master'Thomas Adam2013-06-13
|\|
| * The actual terminfo entries we ended up with for cursor changes are Cs,Nicholas Marriott2013-06-02
| | | | | | | | | | Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier.
* | Merge branch 'obsd-master'Thomas Adam2013-05-31
|\|
| * Instead of eating 1024 bytes or so for the arguments of each command,Nicholas Marriott2013-05-31
| | | | | | | | save memory by using an RB tree. From Tiago Cunha.
* | Merge branch 'obsd-master'Thomas Adam2013-05-25
|\| | | | | | | | | Conflicts: tmux.h
| * Rename global configuration define.Nicholas Marriott2013-04-24
| |
* | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-04-24
|\ \
| * | Merge branch 'obsd-master'Thomas Adam2013-04-23
| |\| | | | | | | | | | Sync from OpenBSD.
| | * When using choose-tree -u, start with the current windowNicholas Marriott2013-04-22
| | | | | | | | | | | | highlighted. From Thomas Adam.
* | | Use sysconfdir for the location of global tmux.conf (but default it to /etc),Nicholas Marriott2013-04-24
|/ / | | | | | | based on changes from Dagobert Michelsen.
* | Merge branch 'obsd-master'Thomas Adam2013-04-13
|\| | | | | | | | | Conflicts: tmux.c
| * Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott2013-03-27
| | | | | | | | few and unnecessary.
| * Add -P and -F to new-session.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.
| * Add a wait-for command which blocks a client on a named channel until itNicholas Marriott2013-03-25
| | | | | | | | is woken up again (with wait-for -S). From Thiago Padilha.
| * Add -A flag to new-session to make it behave like attach-session if theNicholas Marriott2013-03-24
| | | | | | | | session exists. If -A is used, -D behaves like -d to attach-session.
| * 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.
| * Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-03-24
| |
| * Add session_set_current helper function, extracted from a diff fromNicholas Marriott2013-03-22
| | | | | | | | Aaron Jensen.
| * Add -e flag to capture-pane to include embedded ANSI SGR escapeNicholas Marriott2013-03-22
| | | | | | | | sequences, from George Nachman.
| * Fix double space in sessions template.Nicholas Marriott2013-03-22
| |
| * Add resize-pane -x and -y for absolute pane size (much requested).Nicholas Marriott2013-03-22
| |
| * Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott2013-03-22
| | | | | | | | | | SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
| * Instead of loads of little screen_write_*_on and off functions whichNicholas Marriott2013-03-21
| | | | | | | | | | just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
| * Tidy by splitting default key tables into two.Nicholas Marriott2013-03-21
| |
| * Fix constness of cmd_template_replace, window_choose_add_item andNicholas Marriott2013-03-21
| | | | | | | | window_choose_add_window.
| * Allow choose commands to be used outside tmux, so long as at least oneNicholas Marriott2013-03-21
| | | | | | | | client is attached.
* | Add -P and -F to new-session.Nicholas Marriott2013-03-22
| |
* | Extend jobs to support writing and use that for copy-pipe instead of popen,Nicholas Marriott2013-03-21
| | | | | | | | from Chris Johnsen.
* | Only send end guard if begin was sent, from George Nachman.Nicholas Marriott2013-03-13
| |