summaryrefslogtreecommitdiffstats
path: root/tmux.h
AgeCommit message (Collapse)Author
2009-07-08Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,Nicholas Marriott
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.
2009-07-07Rename the global options variables to be shorter and to make session optionsNicholas Marriott
clear. No functional change, getting this out of the way to make later options changes easier.
2009-06-26Remove some unused function declarations; no binary change.Nicholas Marriott
2009-06-25#ifndef nitems to avoid redefining it if it is already in a header.Nicholas Marriott
2009-06-25tmux doesn't and won't need syslog logging, so remove it and some other unusedNicholas Marriott
functions found by lint. Also move a couple of internal function declarations into file scope.
2009-06-25Miscellaneous unused functions, including one which was basically aNicholas Marriott
duplicate. Found by lint.
2009-06-25Nuke unused buffer functions. Found by lint.Nicholas Marriott
Also remove some old debug output which was #if 0.
2009-06-24Change find-window and monitor-content to use fnmatch(3). For convenience andNicholas Marriott
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.
2009-06-24Add a dedicated function to convert a line into a string and use it to ↵Nicholas Marriott
simplify the search window function.
2009-06-24Trying to predict the cursor position for UTF-8 output in the same way as forNicholas Marriott
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.
2009-06-24Constify utf8_width() function argument.Nicholas Marriott
2009-06-04Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott
vttest test happy.
2009-06-03Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott
first cursor test in vttest (in ports) to pass; it still shops a few more problems though.
2009-06-03New session option, status-utf8, to control the interpretation of top-bit-setNicholas Marriott
characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through).
2009-06-03Add a UTF-8 aware string length function and make UTF-8 inNicholas Marriott
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.
2009-06-03When swapping pane positions, swap the PANE_HIDDEN flag as well, otherwise tmuxNicholas Marriott
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.
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott
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