aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* There is no longer a need for a paste_stack struct or for global_buffersnicm2014-04-24
| | | | to be global. Move to paste.c.
* Add some UTF-8 utility functions and use them to prevent the width limitnicm2014-04-17
| | | | on formats from splitting UTF-8 characters improperly.
* Set PATH explicitly, either from client or sessionnicm2014-04-17
| | | | | environment. Previously it came from the session environment. From J Raynor.
* Don't limit the DCS buffer to 256 bytes, expand it as needed. Requestednicm2014-04-17
| | | | by Suraj Kurapati.
* Correct the dance to fix the active pane in join-pane by pulling thenicm2014-04-17
| | | | | (right) code from break-pane and window_remove_pane into a helper function.
* Remove the "info" message mechanism, this was only used for about fivenicm2014-04-17
| | | | | | mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
* Remove the monitor-content option and associated bits and bobs. It'snicm2014-04-17
| | | | | never worked very well. If there is a big demand for it to return, will consider better ways to do it.
* Remove a leftover prototype and fix some spacing.nicm2014-04-16
|
* Remove the choose-list command to prepare for some later choose-* work.nicm2014-04-16
|
* Work out mouse scroll wheel effect when the mouse is first detected andnicm2014-04-03
| | | | | | | store it in struct mouse_event, reduce the scroll size the 3 but allow shift to reduce it to 1 and meta and ctrl to multiply by 3 if the terminal supports them, also support wheel in choose mode. From Marcel Partap.
* Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makenicm2014-04-02
| | | | buffer_sample bigger to let it trim at window right edge.
* missed commit matching log.cderaadt2014-04-01
|
* GRID_DEBUG is no longer needed.nicm2014-03-31
|
* Remove unused log functions.nicm2014-03-31
|
* Add names for mouse button bits rather than using magic numbers, fromnicm2014-03-31
| | | | Marcel Partap.
* Use hex constants rather than shifts for mouse events and flags, pointednicm2014-03-31
| | | | out by Marcel Partap.
* Add setb -a to append and a copy mode append command, from J Raynor withnicm2014-03-31
| | | | minor changes.
* Make session_attached a count and add session_many_attached flag.nicm2014-03-31
|
* Add start-of-list, end-of-list, top-line and bottom-line in choice mode,nicm2014-03-31
| | | | | from madmaverick9 at roxxmail dot eu, similar diff a few days later from Marcel Partap.
* Having three *clock* files is ridiculous, remove clock.c.nicm2014-03-31
|
* Change terminal-overrides to a server option (now that we have them), itnicm2014-02-23
| | | | doesn't make much sense as a session option.
* Break up and simplify screen_redraw_screen.nicm2014-01-31
|
* Allow replacing each of the many sets of separate foo-{fg,bg,attr}nicm2014-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | options with a single foo-style option. For example: set -g status-fg yellow set -g status-bg red set -g status-attr blink Becomes: set -g status-style fg=yellow,bg=red,blink The -a flag to set can be used to add to rather than replace a style. So: set -g status-bg red Becomes: set -ag status-style bg=red Currently this is fully backwards compatible (all *-{fg,bg,attr} options remain) but the plan is to deprecate them over time. From Tiago Cunha.
* Remember the last active pane in the top-bottom or left-right cell sonicm2014-01-28
| | | | | that it can be restored when moving back to that cell with selectp -L/-R/etc. From Suraj N Kurapati.
* Allow attach-session -t to accept a window and pane to select them onnicm2014-01-09
| | | | attach. Based on a diff from J Raynor.
* Key to swap to other end of selection (bound to o with vi keys), from Jnicm2013-10-23
| | | | Raynor.
* Do not run any command line command from the client which starts thenicm2013-10-20
| | | | | | server until after the configuration file completes. This prevents it racing against run-shell or if-shell in .tmux.conf that run in the background.
* Remove the KERN_PROC_CWD the proc_current_path format (which is the onlynicm2013-10-10
| | | | thing that uses it now).
* We accidentally haven't been using $TMUX to work out the session for anicm2013-10-10
| | | | | | while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
* Alter how tmux handles the working directory to internally use filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | descriptors 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 ~ 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.nicm2013-10-10
|
* Remove CMD_SENDENVIRON.nicm2013-10-10
|
* Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd cannicm2013-10-10
| | | | | be NULL. Avoids crash when a command in a command client can't be parsed.
* 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.
* 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.
* 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.
* Rename global configuration define.Nicholas Marriott2013-04-24
|
* When using choose-tree -u, start with the current windowNicholas Marriott2013-04-22
| | | | highlighted. From Thomas Adam.
* 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
|