aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
* Sync OpenBSD patchset 1143:Tiago Cunha2012-07-04
| | | | | | | Provide common helper function for adding windows and sessions to choose lists and expand %% in command before using it rather than at callback time. From Thomas Adam.
* Sync OpenBSD patchset 1142:Tiago Cunha2012-07-04
| | | | | Clean up and simplify the choose mode code, from Thomas Adam.
* Sync OpenBSD patchset 1138:Tiago Cunha2012-06-18
| | | | | | | | | Add a skeleton mode to tmux (called "control mode") that let's tmux commands be sent and output received on stdout. This can be used to integrate with other terminal emulators and should allow some other things to be made simpler later. More to come so doesn't do much yet and deliberately not documented.
* Sync OpenBSD patchset 1125:Tiago Cunha2012-05-30
| | | | | | Strip layout from choose-windows again (leave in list-windows), suggested by Romain Francoise, diff from Thomas Adam.
* Sync OpenBSD patchset 1124:Tiago Cunha2012-05-30
| | | | | Fix client templates, from Romain Francoise.
* Sync OpenBSD patchset 1123:Tiago Cunha2012-05-30
| | | | | Simplify logging and just fprintf(stderr, ...) for early errors.
* Sync OpenBSD patchset 1122:Tiago Cunha2012-05-30
| | | | | Use a predefined structure for not-space cells used to set attributes.
* Sync OpenBSD patchset 1121:Tiago Cunha2012-05-22
| | | | | | Store client in tty struct directly instead of using a callback function pointer.
* Sync OpenBSD patchset 1120:Tiago Cunha2012-05-22
| | | | | Store mouse data in tty structure not on the stack.
* Sync OpenBSD patchset 1119:Tiago Cunha2012-05-22
| | | | | | Switch all of the various choose- and list- commands over to the format infrastructure, from Thomas Adam.
* Sync OpenBSD patchset 1118:Tiago Cunha2012-05-22
| | | | | Add a helper function to send ready message.
* Sync OpenBSD patchset 1116:Tiago Cunha2012-05-22
| | | | | | If there are any terminals with insert mode but not ich1, they can go through the slow path. Tidies code slightly.
* Sync OpenBSD patchset 1114:Tiago Cunha2012-05-22
| | | | | | | | | | | | | Instead of passing stdin/stdout/stderr file descriptors over imsg and handling them in the server, handle them in the client and pass buffers over imsg. This is much tidier for some upcoming changes and the performance hit isn't critical. The tty fd is still passed to the server as before. This bumps the tmux protocol version so new clients and old servers are incompatible.
* Sync OpenBSD patchset 1111:Tiago Cunha2012-05-12
| | | | | Add a helper function to open the terminal for attach-/new-session.
* Sync OpenBSD patchset 1104:Tiago Cunha2012-05-03
| | | | | | | Add a flag to move-window to renumber the windows in a session (closing any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
* Sync OpenBSD patchset 1102:Tiago Cunha2012-05-03
| | | | | | Add a buffer with all input from last ground state, will be used for control mode. From George Nachman.
* Sync OpenBSD patchset 1092:Tiago Cunha2012-04-12
| | | | | | Stop accepting new clients for 1 second on EMFILE/ENFILE. Based on ongoing fixes to other daemons by Theo.
* Sync OpenBSD patchset 1090:Tiago Cunha2012-04-10
| | | | | Fix comment for mouse bits.
* Sync OpenBSD patchset 1084:Tiago Cunha2012-04-10
| | | | | | Add a layout history which can be stepped through with select-layout -u and -U commands (bound to 'u' and 'U' by default).
* Sync OpenBSD patchset 1072:Tiago Cunha2012-03-29
| | | | | | | | | | | | | | | | | | | | Add a simple form of output rate limiting by counting the number of certain C0 sequences (linefeeds, backspaces, carriage returns) and if it exceeds a threshold (current default 50/millisecond), start to redraw the pane every 100 milliseconds instead of making each change as it comes. Two configuration options - c0-change-trigger and c0-change-interval. This makes tmux much more responsive under very fast output (for example yes(1) or accidentally cat'ing a large file) but may not be perfect on all terminals and connections - feedback very welcome, particularly where this change has a negative rather than positive effect (making it off by default is a possibility). After much experimentation based originally on a request Robin Lee Powell (which ended with a completely different solution), this idea from discussion with Ailin Nemui.
* Sync OpenBSD patchset 1070:Tiago Cunha2012-03-18
| | | | | | | On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui.
* Sync OpenBSD patchset 1069:Tiago Cunha2012-03-18
| | | | | | Add notify hooks for various events, the functions are currently empty stubs but will be filled in for control mode later. From George Nachman.
* Sync OpenBSD patchset 1062:Tiago Cunha2012-03-18
| | | | | | Break out termios initialization into a separate function, from George Nachman.
* Sync OpenBSD patchset 1054:Tiago Cunha2012-03-18
| | | | | | Send secondary DA to terminals with XT in terminfo when starting up and parse it to work out the xterm version.
* Sync OpenBSD patchset 1045:Tiago Cunha2012-03-18
| | | | | Remove some bits leftover from unused backoff code.
* Sync OpenBSD patchset 1043:Tiago Cunha2012-03-18
| | | | | | | Use a lock file and flock() to serialize server start, avoids problems when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen.
* Sync OpenBSD patchset 1039:Tiago Cunha2012-03-07
| | | | | Add A and I keys for vi status line editing.
* Sync OpenBSD patchset 1037:Tiago Cunha2012-03-07
| | | | | | | | | Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if this is used and the application has requested bracketed pastes, then tmux surrounds the pasted text by \033[200~ and \033[201~. Applications like vim can (apparently) use this to avoid, for example, indenting the text. From Ailin Nemui.
* Sync OpenBSD patchset 1036:Tiago Cunha2012-03-07
| | | | | | The wlmouse offset should be part of the client, not the server. From Ailin Nemui.
* Sync OpenBSD patchset 1035:Tiago Cunha2012-03-03
| | | | | | | Add move-pane command (like join-pane but allows the same window). Also -b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman.
* Sync OpenBSD patchset 1034:Tiago Cunha2012-03-03
| | | | | Add printf attribute to a couple of functions, from Tim Ruehsen.
* Sync OpenBSD patchset 1032:Tiago Cunha2012-03-03
| | | | | | Allow a single option to be specified to show-options to show just that option.
* Sync OpenBSD patchset 1029:Tiago Cunha2012-02-15
| | | | | Add a wrapper function tty_set_size from George Nachman.
* Sync OpenBSD patchset 1024:Tiago Cunha2012-02-02
| | | | | | Move window name changes into wrapper function window_set_name, from George Nachman.
* Sync OpenBSD patchset 1021:Tiago Cunha2012-02-02
| | | | | | | | | | | Provide defined ways to set the various default-path possibilities: ~ for home directory, . for server start directory, - for session start directory and empty for the pane's working directory (the default). All can also be used as part of a relative path (eg -/foo). Also provide -c flags to neww and splitw to override default-path setting. Based on a diff from sthen. ok sthen
* Sync OpenBSD patchset 1017:Tiago Cunha2012-01-31
| | | | | | Give each window a unique id, like panes but prefixed with @. Based on work from George Nachman.
* Sync OpenBSD patchset 1015:Tiago Cunha2012-01-29
| | | | | | Add an option to move the status line to the top of the screen, requested by many.
* Sync OpenBSD patchset 1011:Tiago Cunha2012-01-23
| | | | | Remove unused backoff code that doesn't do any good.
* Sync OpenBSD patchset 1008:Tiago Cunha2012-01-21
| | | | | Use RB trees not SPLAY.
* Sync OpenBSD patchset 1007:Tiago Cunha2012-01-21
| | | | | | | | | | | | Drop the ability to have a list of keys in the prefix in favour of two separate options, prefix and prefix2. This simplifies the code and gets rid the data options type which was only used for this one option. Also add a -2 flag to send-prefix to send the secondary prefix key, fixing a cause of minor irritation. People who want three prefix keys are out of luck :-).
* Sync OpenBSD patchset 1004:Tiago Cunha2012-01-21
| | | | | | Add a -R flag to send-keys to reset the terminal. Written ages ago and Suggested by someone, I forget who.
* Sync OpenBSD patchset 1002:Tiago Cunha2012-01-20
| | | | | Add some const and fix a warning.
* Sync OpenBSD patchset 998:Tiago Cunha2012-01-20
| | | | | Add space movement keys for vi mode in the status line from Ben Boeckel.
* Change the way the working directory for new processes is discovered. IfNicholas Marriott2011-12-09
| | | | | | | | | | | | | | | | | default-path isn't empty, it is used. Otherwise: 1) If tmux neww is run from the command line, the working directory of the client is used. 2) Otherwise use some platform specific code to retrieve the current working directory of the process in the active pane. 3) If that fails, the directory where the session was created is used. Idea and support code, Linux, Solaris, FreeBSD bits by Romain Francoise, OpenBSD bits by me.
* Sync OpenBSD patchset 986:Tiago Cunha2011-12-06
| | | | | | | | Support "jump to" like vi in copy mode using t and T keys. Also add x and X for delete in edit mode. From Ben Boeckel, thanks.
* Sync OpenBSD patchset 982:Tiago Cunha2011-11-25
| | | | | | Add word movement and editing command for command prompt editing, from Ben Boeckel.
* Sync OpenBSD patchset 979:Tiago Cunha2011-11-25
| | | | | Make window_pane_index work the same as window_index, from Ben Boeckel.
* Sync OpenBSD patchset 969:Tiago Cunha2011-10-23
| | | | | | Support for \e[3J to clear the history. Also send the corresponding terminfo code (E3) before locking.
* Sync OpenBSD patchset 968:Tiago Cunha2011-10-23
| | | | | | Try to resolve relative paths for loadb and saveb (first using client working directory if any then default-path or session wd).
* Sync OpenBSD patchset 965:Tiago Cunha2011-10-23
| | | | | Add client formats, from Ben Boeckel.