summaryrefslogtreecommitdiffstats
path: root/tmux.h
AgeCommit message (Collapse)Author
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
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.
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-07-08Add choose-tree command to show windows and sessions in the sameNicholas Marriott
list. Change choose-window and -session to use the same code. From Thomas Adam.
2012-07-08Clear flags across all sessions, from Thomas Adam.Nicholas Marriott
2012-06-25Provide common helper function for adding windows and sessions to chooseNicholas Marriott
lists and expand %% in command before using it rather than at callback time. From Thomas Adam.
2012-06-25Clean up and simplify the choose mode code, from Thomas Adam.Nicholas Marriott
2012-06-18Add a skeleton mode to tmux (called "control mode") that let's tmuxNicholas Marriott
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.
2012-05-28Strip layout from choose-windows again (leave in list-windows),Nicholas Marriott
suggested by Romain Francoise, diff from Thomas Adam.
2012-05-27Fix client templates, from Romain Francoise.Nicholas Marriott
2012-05-25Simplify logging and just fprintf(stderr, ...) for early errors.Nicholas Marriott
2012-05-23Use a predefined structure for not-space cells used to set attributes.Nicholas Marriott
2012-05-22Store client in tty struct directly instead of using a callback functionNicholas Marriott
pointer.
2012-05-22Store mouse data in tty structure not on the stack.Nicholas Marriott
2012-05-22Switch all of the various choose- and list- commands over to the formatNicholas Marriott
infrastructure, from Thomas Adam.
2012-05-22Add a helper function to send ready message.Nicholas Marriott
2012-05-22If there are any terminals with insert mode but not ich1, they can goNicholas Marriott
through the slow path. Tidies code slightly.
2012-05-21Instead of passing stdin/stdout/stderr file descriptors over imsg andNicholas Marriott
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.
2012-05-06Add a helper function to open the terminal for attach-/new-session.Nicholas Marriott
2012-04-29Add a flag to move-window to renumber the windows in a session (closingNicholas Marriott
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
2012-04-25Add a buffer with all input from last ground state, will be used forNicholas Marriott
control mode. From George Nachman.
2012-04-11Stop accepting new clients for 1 second on EMFILE/ENFILE. Based onNicholas Marriott
ongoing fixes to other daemons by Theo.
2012-04-01Fix comment for mouse bits.Nicholas Marriott
2012-04-01Add a layout history which can be stepped through with select-layout -uNicholas Marriott
and -U commands (bound to 'u' and 'U' by default).
2012-03-20Add a simple form of output rate limiting by counting the number ofNicholas Marriott
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.
2012-03-17On xterm 271 and later, put the terminal into SCL 5 and use DECCRA forNicholas Marriott
scrolling the region in panes (if the large region check isn't hit). With help from Ailin Nemui.
2012-03-17Add notify hooks for various events, the functions are currently emptyNicholas Marriott
stubs but will be filled in for control mode later. From George Nachman.
2012-03-17Break out termios initialization into a separate function, from GeorgeNicholas Marriott
Nachman.
2012-03-15Send secondary DA to terminals with XT in terminfo when starting up andNicholas Marriott
parse it to work out the xterm version.
2012-03-09Remove some bits leftover from unused backoff code.Nicholas Marriott
2012-03-09Use a lock file and flock() to serialize server start, avoids problemsNicholas Marriott
when running a bunch of tmux from cron at the same time. Based on a diff from Tim Ruehsen.
2012-03-04Add A and I keys for vi status line editing.Nicholas Marriott
2012-03-03Support "bracketed paste" mode. This adds a -p flag to paste-buffer - ifNicholas Marriott
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.
2012-03-03The wlmouse offset should be part of the client, not the server. FromNicholas Marriott
Ailin Nemui.
2012-03-03Add move-pane command (like join-pane but allows the same window). AlsoNicholas Marriott
-b flag to join-pane and move-pane to place the pane to the left or above. From George Nachman.
2012-03-02Add printf attribute to a couple of functions, from Tim Ruehsen.Nicholas Marriott
2012-02-25Allow a single option to be specified to show-options to show just thatNicholas Marriott
option.
2012-02-15Add a wrapper function tty_set_size from George Nachman.Nicholas Marriott
2012-02-02Move window name changes into wrapper function window_set_name, fromNicholas Marriott
George Nachman.
2012-01-31Provide defined ways to set the various default-path possibilities: ~Nicholas Marriott
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
2012-01-30Give each window a unique id, like panes but prefixed with @. Based onNicholas Marriott
work from George Nachman.
2012-01-29Add an option to move the status line to the top of the screen,Nicholas Marriott
requested by many.
2012-01-21Remove unused backoff code that doesn't do any good.Nicholas Marriott
2012-01-21Use RB trees not SPLAY.Nicholas Marriott
2012-01-21Drop the ability to have a list of keys in the prefix in favour of twoNicholas Marriott
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 :-).
2012-01-21Add a -R flag to send-keys to reset the terminal. Written ages ago andNicholas Marriott
Suggested by someone, I forget who.
2012-01-20Add some const and fix a warning.Nicholas Marriott
2012-01-20Add space movement keys for vi mode in the status line from Ben Boeckel.Nicholas Marriott
2011-12-09Change the way the working directory for new processes is discovered. IfNicholas Marriott
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.
2011-12-04Support "jump to" like vi in copy mode using t and T keys. Also add xNicholas Marriott
and X for delete in edit mode. From Ben Boeckel, thanks.
2011-11-15Add word movement and editing command for command prompt editing, fromNicholas Marriott
Ben Boeckel.