aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Instead of faking up a status line in status_redraw, use the same code toNicholas Marriott2009-07-15
| | | | | redraw it as to draw the entire screen, just skip all lines but the last.
* Get rid of the PANE_HIDDEN flag in favour of a function, and moving theNicholas Marriott2009-07-15
| | | | | | | | | decision for whether or not a pane should be drawn out of the layout code and into the redraw code. This is needed for the new layout design, getting it in now to make that easier to work on.
* Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott2009-07-14
| | | | | | | | | | maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
* Tidy up and improve target (-t) argument parsing:Nicholas Marriott2009-07-14
| | | | | | | | | | | | | | | - move the code back into cmd.c and merge with the existing functions where possible; - accept "-tttyp0" as well as "-t/dev/ttyp0" for clients; - when looking up session names, try an exact match first, and if that fails look for it as an fnmatch pattern and then as the start of a name - if more that one session matches an error is given; so if there is one session called "mysession", -tmysession, -tmysess, -tmysess* are equivalent but if there is also "mysession2", the last two are errors; - similarly for windows, if the argument is not a valid index or exact window name match, try it against the window names as an fnmatch pattern and a prefix.
* Support "alternate screen" mode (terminfo smcup/rmcup) typically used by fullNicholas Marriott2009-07-14
| | | | | | | | 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-14
|
* Add a "back to indentation" key in copy mode to move the cursor to the firstNicholas Marriott2009-07-14
| | | | | | 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-14
| | | | | user-specified one.
* When pasting, translate \n into \r. This matches xterm and putty's behaviour,Nicholas Marriott2009-07-12
| | | | | | | | 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-12
| | | | | windows.
* 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).
* Fix $Id$.Nicholas Marriott2009-07-08
|
* Rename the global options variables to be shorter and to make session optionsNicholas Marriott2009-07-08
| | | | | | clear. No functional change, getting this out of the way to make later options changes easier.
* Change default_window_name to use window_default_command if the actual cmd isNicholas Marriott2009-07-02
| | | | | empty. From Josh Elsasser.
* $Id$.Nicholas Marriott2009-07-01
|
* Fix $Id$.Nicholas Marriott2009-06-29
|
* Remove some unused function declarations; no binary change.Nicholas Marriott2009-06-26
|
* #ifndef nitems.Nicholas Marriott2009-06-26
|
* Start of portability update: bitstring.h.Nicholas Marriott2009-06-25
|
* More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.Nicholas Marriott2009-06-25
|
* Whitespace and more syncing.Nicholas Marriott2009-06-25
|
* No more xmalloc-debug.Nicholas Marriott2009-06-25
|
* Restore $Id$ and add script to do so.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.
* 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-25
| | | | | compatibility, *s are implicitly added at the start and end of the pattern.
* Add a dedicated function to convert a line into a string and use it to ↵Nicholas Marriott2009-06-25
| | | | simplify the search window function.
* Trying to predict the cursor position for UTF-8 output in the same way as forNicholas Marriott2009-06-25
| | | | | | | 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-25
|
* Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott2009-06-25
| | | | | vttest test happy.
* Implement the DEC alignment test. With the last change this is enough for theNicholas Marriott2009-06-25
| | | | | | 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-25
| | | | | | 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-25
| | | | | | | 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.
* Nuke unused pane flag.Nicholas Marriott2009-06-25
|
* Now in base.Nicholas Marriott2009-05-26
|
* UPPER -> BIG, sort, and bump protocol version.Nicholas Marriott2009-05-21
|
* Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide ↵Nicholas Marriott2009-05-19
| | | | character and seeing how much the cursor moves. Currently tries to figure out if this works by some stupid checks on the terminal, these need to be rethought. Also might be better using a width 1 character rather than width 2.
* - New window option monitor-content to search for a string in a window, andTiago Cunha2009-05-19
| | | | | | | | | highlight the status line if it matches. - To make this possible, the function cmd_find_window_search from cmd-find-window.c had to be moved to window.c and renamed window_pane_search. - While there use three new functions in server.c to check for bell, activity, and content, to avoid too much nesting.
* New option main-pane-width to set width of pane in left-vertical mode.Nicholas Marriott2009-05-18
|
* horizontal -> h, vertical -> v, to shorten some function names a little.Nicholas Marriott2009-05-18
|
* Behave properly when resize not supported.Nicholas Marriott2009-05-18
|
* manual -> manual-vertical.Nicholas Marriott2009-05-18
|
* Clean up manual layout code:Nicholas Marriott2009-05-18
| | | | | | | | | | | | - change the one layout function into two _refresh and _resize - create layout-manual.c for manual layout code - move the fit panes/update panes code from window.c to the new file as it is only used by manual layout now - move the resize pane code into layout-manual.c as well - get rid of the direct calls to fit/update and make them go through layout - rename a couple of variables This is mainly as a first step before reworking the manual layout code to see if anything breaks.
* select-layout command and some key bindings.Nicholas Marriott2009-05-16
|
* Recreate server socket on SIGUSR1, per SF feature request 2792533.Nicholas Marriott2009-05-16
|
* Keys in status line (p in vi mode, M-y in emacs) to paste the first line of ↵Nicholas Marriott2009-05-14
| | | | the upper paste buffer. Suggested by Dan Colish.
* clear-history command.Nicholas Marriott2009-05-14
|
* Rename all feature flags to HAVE_* and move out of makefiles into a configureNicholas Marriott2009-05-13
| | | | | | | | | script which must be run before building. Still two makefiles but they are a hell of a lot simpler. HAVE_* also will make it easier to move to $buildsystem if necessary later.