summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch all of the various choose- and list- commands over to the formatnicm2012-05-221-1/+33
| | | | infrastructure, from Thomas Adam.
* Add a helper function to send ready message.nicm2012-05-221-1/+2
|
* If there are any terminals with insert mode but not ich1, they can gonicm2012-05-221-3/+1
| | | | through the slow path. Tidies code slightly.
* Instead of passing stdin/stdout/stderr file descriptors over imsg andnicm2012-05-211-14/+29
| | | | | | | | | | | 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.
* Add a helper function to open the terminal for attach-/new-session.nicm2012-05-061-1/+2
|
* Add a flag to move-window to renumber the windows in a session (closingnicm2012-04-291-1/+2
| | | | | any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
* Add a buffer with all input from last ground state, will be used fornicm2012-04-251-1/+7
| | | | control mode. From George Nachman.
* Stop accepting new clients for 1 second on EMFILE/ENFILE. Based onnicm2012-04-111-1/+2
| | | | ongoing fixes to other daemons by Theo.
* Fix comment for mouse bits.nicm2012-04-011-8/+8
|
* Add a layout history which can be stepped through with select-layout -unicm2012-04-011-2/+16
| | | | and -U commands (bound to 'u' and 'U' by default).
* Add a simple form of output rate limiting by counting the number ofnicm2012-03-201-2/+7
| | | | | | | | | | | | | | | | | | 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.
* On xterm 271 and later, put the terminal into SCL 5 and use DECCRA fornicm2012-03-171-2/+3
| | | | | scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui.
* Add notify hooks for various events, the functions are currently emptynicm2012-03-171-1/+11
| | | | stubs but will be filled in for control mode later. From George Nachman.
* Break out termios initialization into a separate function, from Georgenicm2012-03-171-1/+2
| | | | Nachman.
* Send secondary DA to terminals with XT in terminfo when starting up andnicm2012-03-151-1/+2
| | | | parse it to work out the xterm version.
* Remove some bits leftover from unused backoff code.nicm2012-03-091-5/+1
|
* Use a lock file and flock() to serialize server start, avoids problemsnicm2012-03-091-2/+2
| | | | | when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen.
* Add A and I keys for vi status line editing.nicm2012-03-041-1/+3
|
* Support "bracketed paste" mode. This adds a -p flag to paste-buffer - ifnicm2012-03-031-1/+3
| | | | | | | 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.
* The wlmouse offset should be part of the client, not the server. Fromnicm2012-03-031-3/+3
| | | | Ailin Nemui.
* Add move-pane command (like join-pane but allows the same window). Alsonicm2012-03-031-2/+3
| | | | | -b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman.
* Add printf attribute to a couple of functions, from Tim Ruehsen.nicm2012-03-021-3/+3
|
* Allow a single option to be specified to show-options to show just thatnicm2012-02-251-1/+4
| | | | option.
* Add a wrapper function tty_set_size from George Nachman.nicm2012-02-151-1/+2
|
* Move window name changes into wrapper function window_set_name, fromnicm2012-02-021-1/+2
| | | | George Nachman.
* Provide defined ways to set the various default-path possibilities: ~nicm2012-01-311-2/+2
| | | | | | | | | 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
* Give each window a unique id, like panes but prefixed with @. Based onnicm2012-01-301-1/+4
| | | | work from George Nachman.
* Add an option to move the status line to the top of the screen,nicm2012-01-291-3/+7
| | | | requested by many.
* Remove unused backoff code that doesn't do any good.nicm2012-01-211-3/+2
|
* Use RB trees not SPLAY.nicm2012-01-211-10/+10
|
* Drop the ability to have a list of keys in the prefix in favour of twonicm2012-01-211-11/+2
| | | | | | | | | | 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 :-).
* Add a -R flag to send-keys to reset the terminal. Written ages ago andnicm2012-01-211-1/+2
| | | | Suggested by someone, I forget who.
* Add some const and fix a warning.nicm2012-01-201-2/+2
|
* Add space movement keys for vi mode in the status line from Ben Boeckel.nicm2012-01-201-1/+4
|
* Change the way the working directory for new processes is discovered. Ifnicm2011-12-091-1/+3
| | | | | | | | | | | | | | | | 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 sysctl KERN_PROC_CWD is used 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. Support code by Romain Francois, OpenBSD specific bits by me. Note this requires a recent userland and kernel with KERN_PROC_CWD.
* Support "jump to" like vi in copy mode using t and T keys. Also add xnicm2011-12-041-1/+3
| | | | | | and X for delete in edit mode. From Ben Boeckel, thanks.
* Add word movement and editing command for command prompt editing, fromnicm2011-11-151-1/+5
| | | | Ben Boeckel.
* Make window_pane_index work the same as window_index, from Ben Boeckel.nicm2011-11-151-2/+2
|
* Support for \e[3J to clear the history. Also send the correspondingnicm2011-10-231-1/+3
| | | | terminfo code (E3) before locking.
* Try to resolve relative paths for loadb and saveb (first using clientnicm2011-10-231-1/+2
| | | | working directory if any then default-path or session wd).
* Add client formats, from Ben Boeckel.nicm2011-10-231-1/+2
|
* Add initial framework for more powerful formatting of command output andnicm2011-08-261-1/+24
| | | | | | | | use it for list-{panes,windows,sessions}. This allows more descriptive replacements (such as #{session_name}) and conditionals. Later this will be used for status_replace and list-keys and other places.
* Add a tty_bell wrapper function, from Dylan Alex Simon.nicm2011-08-241-1/+2
|
* Allow the initial context on prompts to be set with the new -I option tonicm2011-07-021-3/+3
| | | | command-prompt. From Tiago Cunha.
* PANE_FREEZE doesn't do anything anymore, so remove it.nicm2011-06-271-2/+1
|
* Add a respawn-pane command, from Marcel Partap.nicm2011-06-051-1/+2
|
* Get rid of the layout string code which tries to walk through the layoutnicm2011-06-051-5/+3
| | | | hierarchy and instead just look at what panes are actually in the window.
* Support DECSCUSR sequence to set the cursor style with two newnicm2011-05-201-1/+6
| | | | terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
* Support xterm(1) cursor colour change sequences through terminfo(5) Ccnicm2011-05-201-2/+12
| | | | | (set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked by me and Ailin Nemui.
* Support setting the xterm clipboard when copying from copy mode usingnicm2011-05-181-1/+7
| | | | | | | | the xterm escape sequence for the purpose (if xterm is configured to allow it). Written by and much discussed Ailin Nemui, guidance on xterm/termcap/terminfo from Thomas Dickey.