aboutsummaryrefslogtreecommitdiff
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.
* Don't accept input to a window if it not visible.Nicholas Marriott2009-07-15
|
* The scroll region cannot be one line only, ignore attempts to make it so.Nicholas Marriott2009-07-15
|
* 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.
* Escape ~, pointed out by tcunha.Nicholas Marriott2009-07-14
|
* Need time.h not sys/time.h for time(2).Nicholas Marriott2009-07-14
|
* Whoops, chose the wrong one in a conflict. Revert.Nicholas Marriott2009-07-14
|
* arg.c is no longer required.Nicholas Marriott2009-07-14
|
* Don't need ncurses, use curses.Nicholas Marriott2009-07-14
|
* 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.
* copy-mode and scroll-mode have a -u flag missing from usage, add it.Nicholas Marriott2009-07-14
|
* 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
|
* Document the -k flag to new-window.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.
* Merge three copies of identical code to move the cursor x position into aNicholas Marriott2009-07-14
| | | | | single function, from Kalle Olavi Niemitalo.
* If it exist, load a system-wide configuration file /etc/tmux.conf before anyNicholas Marriott2009-07-14
| | | | | user-specified one.
* Update.Tiago Cunha2009-07-13
|
* Expand leading tilde on commands which expect a filename.Tiago Cunha2009-07-13
|
* Update.Nicholas Marriott2009-07-13
|
* Update TODO.Nicholas Marriott2009-07-13
|
* Limit the history to hlimit not hlimit - 1. This makes a history-limit settingNicholas Marriott2009-07-12
| | | | | of 0 work as expected.
* Add -r to the synopsis of the paste-buffer command, prompted by jmc.Nicholas Marriott2009-07-12
|
* 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!
* Copy was using the real line length which after resize can be larger than theNicholas Marriott2009-07-12
| | | | | | | | screen width. When built with -DDEBUG, this made the grid bounds checking code kill the server. Restrict copying to the actual width. From Kalle Olavi Niemitalo, thanks.
* paste-buffer -d was not documented. From Kalle Olavi Niemitalo.Nicholas Marriott2009-07-12
|
* Redraw the status line after renaming a session (it may contain the name).Nicholas Marriott2009-07-12
|
* Don't send initialisation strings is1/2/3 (barely anything else does) and moveNicholas Marriott2009-07-12
| | | | | | smcup to the first and rmcup to the last sequences output to the terminal. This allows tmux to use the alternate screen (smcup/rmcup) when available.
* Add a default-terminal option to set the starting value of $TERM in newNicholas Marriott2009-07-12
| | | | | windows.
* Document display-time option which seems to have been missed.Nicholas Marriott2009-07-12
|
* When the terminal size is reduced horizontally, don't truncate lines to the newNicholas Marriott2009-07-12
| | | | | | width, so that if the same lines are later increased in size the content reappears.
* Stop in the right place so all the lines selected are copied. Reported by KalleNicholas Marriott2009-07-12
| | | | | Olavi Niemitalo, thanks.
* Update TODO.Nicholas Marriott2009-07-11
|
* Update TODO.Nicholas Marriott2009-07-11
|
* Fix $Id$.Nicholas Marriott2009-07-09
|
* 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.
* Fix $Id$.Nicholas Marriott2009-07-09
|
* Cursor up and down should be limited by the scroll region (cuu should stop atNicholas Marriott2009-07-09
| | | | | | the scroll region top if starting from below it and cud stop at the bottom if starting from above). Fixes another vttest test.
* Don't leak FILE * on malloc failure. From ivoire at users dot sourceforge dotNicholas Marriott2009-07-09
| | | | | net.
* Change inserting and deleting lines inside the scroll region to properly clearNicholas Marriott2009-07-09
| | | | | | lines that should be inserted/deleted but not moved. Fixes problems with mutt reported by Brian Lewis, 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 two memory leaks when assigning shell variables in configurationNicholas Marriott2009-07-09
| | | | | file/command prompt. From Tiago Cunha.
* Update TODO list.Nicholas Marriott2009-07-09
|
* Accidently deleted default-command.Nicholas Marriott2009-07-08
|
* Bring spacing into line.Nicholas Marriott2009-07-08
|
* Whoops, that shouldn't have been there.Nicholas Marriott2009-07-08
|
* Fix $Id$.Nicholas Marriott2009-07-08
|
* When reinitialising the screen, do not omit to clear the last line.Nicholas Marriott2009-07-08
|
* Don't let ambiguous commands override an exact alias match: eg if commandsNicholas Marriott2009-07-08
| | | | | | "abc-1", "abc-2", "abc-3" exist and "abc-3" has the alias "abc", "tmux abc" should execute abc-3, not complain about the command being ambiguous.