| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| | * | Set exittype for error exit as well as the error string. | Nicholas Marriott | 2009-09-02 | |
| | | | ||||
| | * | Accept -l to make it easier for people who use tmux as a login shell to use | Nicholas Marriott | 2009-09-02 | |
| | | | | | | | | | $SHELL. Originally from martynas@, tweaked by me. | |||
| | * | When incorrect passwords are entered, behave similarly to login(1) and backoff | Nicholas Marriott | 2009-09-02 | |
| | | | | | | | | | for a bit. Based on a diff from martynas@. | |||
| | * | Add a transpose-chars command in edit mode (C-t in emacs mode only). From Kalle | Nicholas Marriott | 2009-09-02 | |
| | | | | | | | | | Olavi Niemitalo. | |||
| | * | If forking a login shell or if SHELL is otherwise not useful, set it to the | Nicholas Marriott | 2009-09-01 | |
| | | | | | | | | | default shell. Based on a diff from martynas@. | |||
| | * | When using tmux as a login shell, there is currently no way to specify a shell | Nicholas Marriott | 2009-09-01 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | to be used as a login shell inside tmux, so add a default-shell session option. This sets the shell invoked as a login shell when the default-command option is empty. The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell or /bin/sh is valid first. Based on a diff from martynas@, changed by me to be a session option rather than a window option. | |||
| | * | Use "Password:" with no space for password prompts and don't display a *s for | Nicholas Marriott | 2009-09-01 | |
| | | | | | | | | | | | the password, like pretty much everything else. From martynas@ with minor tweaks by me. | |||
| | * | Sort cases same as getopt argument, from martynas. | Nicholas Marriott | 2009-09-01 | |
| | | | ||||
| | * | Add a new display-panes command, with two options (display-panes-colour and | Nicholas Marriott | 2009-08-31 | |
| | | | | | | | | | | | display-panes-time), which displays a visual indication of the number of each pane. | |||
| | * | squash typo | Stefan Sperling | 2009-08-31 | |
| | | | | | | | | | ok nicm@ | |||
| | * | Don't call tty_free unless the client is a terminal, otherwise tty_init hasn't | Nicholas Marriott | 2009-08-31 | |
| | | | | | | | | | been called and it may end up doing close(0). From Kalle Olavi Niemitalo. | |||
| | * | Initialise the arg2 pointer properly (also free it when freeing the | Nicholas Marriott | 2009-08-26 | |
| | | | | | | | | | others). Fixes crashes with J in malloc_options reported by oga. | |||
| | * | Make this work when the clock is in small characters as well. Doh. | Nicholas Marriott | 2009-08-26 | |
| | | | ||||
| | * | Fix clock mode in black and white terminals now that tty.c tries to fix | Nicholas Marriott | 2009-08-26 | |
| | | | | | | | | | reverse. | |||
| | * | Print -l and -p when showing command, pointed out by Tiago Cunha. | Nicholas Marriott | 2009-08-25 | |
| | | | ||||
| | * | These should #include <ctype.h>. | Nicholas Marriott | 2009-08-25 | |
| | | | ||||
| | * | Add a choose-client command and extend choose-{session,window} to accept a | Nicholas Marriott | 2009-08-25 | |
| | | | | | | | | | | | | | | | | | | | | | | | template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D). | |||
| | * | gcc2 doesn't understand attributes on function pointers. | Nicholas Marriott | 2009-08-24 | |
| | | | ||||
| | * | Add some other obvious variables to update-environment (WINDOWID SSH_ASKPASS | Nicholas Marriott | 2009-08-23 | |
| | | | | | | | | | | | SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION) so they are updated in the session environment on new/attach. | |||
| | * | Some code tidying. | Nicholas Marriott | 2009-08-23 | |
| | | | ||||
| | * | When using source-file, run the commands in the context of the source-file | Nicholas Marriott | 2009-08-23 | |
| | | | | | | | | | | | command rather than with no context. This makes things like attach work from a file. | |||
| | * | The cursession member in struct cmd_ctx is always either curclient->session or | Nicholas Marriott | 2009-08-23 | |
| | | | | | | | | | NULL when curclient is also NULL, so just eliminate it. | |||
| | * | Check the return value of strunvis against -1 not NULL. | Nicholas Marriott | 2009-08-23 | |
| | | | ||||
| | * | Emulate dch/dch1 if missing by redrawing the entire line. | Nicholas Marriott | 2009-08-21 | |
| | | | ||||
| | * | Move reading termios settings to before tty_open alters them, and expand the | Nicholas Marriott | 2009-08-21 | |
| | | | | | | | | | comment. | |||
| | * | Ugh, committed the wrong version of this change and got both solutions rather | Nicholas Marriott | 2009-08-21 | |
| | | | | | | | | | than just the second. Remove unused assignment. | |||
| | * | When moving up or down in copy mode, save the cursor position and size of the | Nicholas Marriott | 2009-08-21 | |
| | | | | | | | | | | | | | last line with content (width != 0) and use it to determine if the cursor should be at the end of the line. Fixes problem of the cursor always jumping to the end of the line when scrolling past a blank line. | |||
| | * | Fix grid_expand_line so it actually works when the required size is bigger than | Nicholas Marriott | 2009-08-21 | |
| | | | | | | | | | 2 * the current size. | |||
| | * | A few trivial optimisations: no need to check for zero size if calling | Nicholas Marriott | 2009-08-20 | |
| | | | | | | | | | | | | | buffer_ensure in buffer.c; expand grid lines by a greater increase than one each time; and don't read UTF-8 data unless it actually needs to be checked when overwriting a cell. | |||
| | * | Nuke unused variable. | Nicholas Marriott | 2009-08-20 | |
| | | | ||||
| | * | Handle the device attributes (DA) escape sequence. | Nicholas Marriott | 2009-08-19 | |
| | | | ||||
| | * | tweak previous; | Jason McIntyre | 2009-08-19 | |
| | | | ||||
| | * | Don't read beyond the edge of the screen when searching (dies with debug | Nicholas Marriott | 2009-08-19 | |
| | | | | | | | | | enabled). | |||
| | * | Use cfsetispeed/cfsetospeed to set termios speed members. | Nicholas Marriott | 2009-08-19 | |
| | | | ||||
| | * | Extend command-prompt with a -p option which is a comma-separated list of one | Nicholas Marriott | 2009-08-19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or more prompts to present in order. The responses to the prompt are replaced in the template string: %% are replaced in order, so the first prompt replaces the first %%, the second replaces the second, and so on. In addition, %1 up to %9 are replaced with the responses to the first the ninth prompts The default template is "%1" so the response to the first prompt is processed as a command. Note that this changes the behaviour for %% so if there is only one prompt, only the first %% will be replaced. Templates such as "neww -n '%%' 'ssh %%'" should be changed to "neww -n '%1' 'ssh %1'". From Tiago Cunha. | |||
| | * | Instead of just checking for an empty buffer, which may not be the case if | Nicholas Marriott | 2009-08-18 | |
| | | | | | | | | | | | | | | | there is unconsumed data, save the previous size and use it instead. This means that activity monitoring should work in this (unlikely) event. Also remove a debugging statement that no longer seems necessary. | |||
| | * | Whoops, getting the comparison the right way round is usually recommended. | Nicholas Marriott | 2009-08-18 | |
| | | | ||||
| | * | Move another expensive options test to after a cheaper timer check/update. | Nicholas Marriott | 2009-08-18 | |
| | | | ||||
| | * | options_get_number() is relatively expensive and a check for dead panes happens | Nicholas Marriott | 2009-08-18 | |
| | | | | | | | | | | | a lot more often than actually finding one, so instead of getting the option for every check, get it for every dead window found. | |||
| | * | Now that pane targets (-t) are supported, switch some commands to use them | Nicholas Marriott | 2009-08-18 | |
| | | | | | | | | | | | where it makes sense: clock-mode, copy-mode, scroll-mode, send-keys, send-prefix. | |||
| | * | Tag a few missed printf-like functions and fix a missing "%s". | Nicholas Marriott | 2009-08-18 | |
| | | | ||||
| | * | Pass show-buffer output through vis(3) as well, and wrap it to the edge of the | Nicholas Marriott | 2009-08-18 | |
| | | | | | | | | | terminal when used from the command line. | |||
| | * | Change list-buffers to run the preview of the buffer through vis(1). | Nicholas Marriott | 2009-08-18 | |
| | | | ||||
| | * | Use the full screen width when printing output rather than one less. | Nicholas Marriott | 2009-08-18 | |
| | | | ||||
| | * | Nuke unnecessary assignment. | Nicholas Marriott | 2009-08-18 | |
| | | | ||||
| | * | Add a "delete line" key when editing in the status line or the search up/down | Nicholas Marriott | 2009-08-18 | |
| | | | | | | | | | prompt. C-u with emacs keys, d with vi. | |||
| | * | Add (naive) searching and goto line in copy mode. Searching is C-r and C-s with | Nicholas Marriott | 2009-08-18 | |
| | | | | | | | | | | | | | | | | | | | | | emacs keys, / and ? with vi; n repeats the search again with either key set. All searching wraps the top/bottom. Goto line is g for both emacs and vi. The search prompts don't have full line editing, just simple append and delete characters. Also sort the mode keys list in tmux.1. | |||
| | * | Reset attributes as well as scroll region before poll(2) and add a big comment | Nicholas Marriott | 2009-08-14 | |
| | | | | | | | | | explaining why. | |||
| | * | Send SGR0 when initialising the screen. Fixes problems on terminals with BCE | Nicholas Marriott | 2009-08-14 | |
| | | | | | | | | | | | (like putty) if the background colours is non-default when tmux starts. May also fix problems when resuming a suspended tmux. | |||
| | * | Switch the prompt code to return an empty string when the user enters no | Nicholas Marriott | 2009-08-13 | |
| | | | | | | | | | | | | | | | response and reserve NULL for an explicit cancel. Change all callbacks to treat them the same so no functional change. Also add cancel key bindings to emacs mode which were missing. | |||