aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Support "alternate screen" mode (terminfo smcup/rmcup) typically used by fullNicholas Marriott2009-07-13
| | | | | | | screen interactive programs to preserve the screen contents. When activated, it saves a copy of the visible grid and disables scrolling into and resizing out of the history; when deactivated the visible data is restored and the history reenabled.
* Missed this declaration in key bindings change. Whoops.Nicholas Marriott2009-07-12
|
* Add a "back to indentation" key in copy mode to move the cursor to the firstNicholas Marriott2009-07-12
| | | | | non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks.
* If it exist, load a system-wide configuration file /etc/tmux.conf before anyNicholas Marriott2009-07-12
| | | | user-specified one.
* When pasting, translate \n into \r. This matches xterm and putty's behaviour,Nicholas Marriott2009-07-11
| | | | | | | and makes emacs happy when pasting into some modes. A new -r (raw) flag to paste-buffer pastes without the translation. From Kalle Olavi Niemitalo, thanks!
* Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott2009-07-10
| | | | | | | windows. This is "screen" by default and must be either that or something closely related. This does makes it easier to customise it if necessary.
* New command, if-shell (alias if). Executes the tmux command in the secondNicholas Marriott2009-07-09
| | | | | | | | argument if the shell command in the first succeeds, for example: if "[ -e ~/.tmux.conf.alt ]" "source .tmux.conf.alt" Written by Tiago Cunha, many thanks.
* Tidy by removing unused argument from grid_view_{insert,delete}_line_regionNicholas Marriott2009-07-09
| | | | functions (currently don't fully work, this is to make fix easier).
* Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,Nicholas Marriott2009-07-08
| | | | | | | | | and some people may use shells which do not support it. Instead, make an empty default-command option mean a login shell, and fork it with a - in argv[0] which is the method used by login(1). Also fix the automatic-rename code to handle this correctly and to strip a leading - if present.
* Rename the global options variables to be shorter and to make session optionsNicholas Marriott2009-07-07
| | | | | clear. No functional change, getting this out of the way to make later options changes easier.
* Remove some unused function declarations; no binary change.Nicholas Marriott2009-06-26
|
* #ifndef nitems to avoid redefining it if it is already in a header.Nicholas Marriott2009-06-25
|
* tmux doesn't and won't need syslog logging, so remove it and some other unusedNicholas Marriott2009-06-25
| | | | | | functions found by lint. Also move a couple of internal function declarations into file scope.
* Miscellaneous unused functions, including one which was basically aNicholas Marriott2009-06-25
| | | | duplicate. Found by lint.
* Nuke unused buffer functions. Found by lint.Nicholas Marriott2009-06-25
| | | | Also remove some old debug output which was #if 0.
* Change find-window and monitor-content to use fnmatch(3). For convenience andNicholas Marriott2009-06-24
| | | | | | | | | compatibility, *s are implicitly added at the start and end of the pattern. Also display the line number and the entire line in the results, and lose the nasty section_string function and the now empty util.c file. Initially from Tiago Cunha.
* Add a dedicated function to convert a line into a string and use it to ↵Nicholas Marriott2009-06-24
| | | | simplify the search window function.
* Trying to predict the cursor position for UTF-8 output in the same way as forNicholas Marriott2009-06-24
| | | | | | normal eight-bit output is wrong, separate it into a different function. Fixes spacing when mixing UTF-8 with some escape sequences, notably the way w3m does it.
* Constify utf8_width() function argument.Nicholas Marriott2009-06-24
|
* Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott2009-06-04
| | | | vttest test happy.
* Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott2009-06-03
| | | | | first cursor test in vttest (in ports) to pass; it still shops a few more problems though.
* New session option, status-utf8, to control the interpretation of top-bit-setNicholas Marriott2009-06-03
| | | | | characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through).
* Add a UTF-8 aware string length function and make UTF-8 inNicholas Marriott2009-06-03
| | | | | | status-left/status-right work properly. At the moment any top-bit-set characters are assumed to be UTF-8: a status-utf8 option to configure this will come shortly.
* When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmuxNicholas Marriott2009-06-03
| | | | | | | | | crashes when trying to find the new active pane. While here, nuke an unused pane flag. Fixes PR 6160, reported by and a slightly different version of diff tested by ralf.horstmann at gmx.de.
* Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti