| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
frees the command list bound to the key while it is still being executed,
leading to a use after free. To prevent this, create a dead keys list and defer
freeing replaced or removed key bindings until the main loop when the key
binding will have finished executing.
Found by Johan Friis when creating a key binding to reload his configuration
file.
|
| | |
| |
| |
| |
| | |
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks.
|
| | |
| |
| |
| | |
single function, from Kalle Olavi Niemitalo.
|
| | |
| |
| |
| | |
user-specified one.
|
| | |
| |
| |
| | |
of 0 work as expected.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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!
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| |
| | |
width, so that if the same lines are later increased in size the content
reappears.
|
| | |
| |
| |
| |
| | |
the scroll region top if starting from below it and cud stop at the bottom if
starting from above). Fixes another vttest test.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
Olavi Niemitalo, thanks.
|
| | |
| |
| |
| | |
dot net.
|
| | |
| |
| |
| |
| | |
lines that should be inserted/deleted but not moved. Fixes problems with mutt
reported by Brian Lewis, thanks.
|
| | |
| |
| |
| | |
functions (currently don't fully work, this is to make fix easier).
|
| | |
| |
| |
| | |
file/command prompt. From Tiago Cunha.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| | |
"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.
Not a problem at the moment but will be soon.
|
| | |
| |
| |
| |
| | |
clear. No functional change, getting this out of the way to make later options
changes easier.
|
| | | |
|
| | |
| |
| |
| | |
afterwards, otherwise it hangs.
|
| | |
| |
| |
| | |
is required here as well, doh.
|
| | |
| |
| |
| | |
rather than just the global options. From Brandon Mercer, thanks.
|
| | |
| |
| |
| |
| | |
and session options clearer, and fix the incorrect synopses and descriptions of
show-options and show-window-options.
|
| | |
| |
| |
| |
| |
| |
| | |
when trying to paste them, found by me, and miscalculation of the start/end
causing random fatal errors when copying in copy-mode, reported by sthen.
ok sthen "put it in" deraadt
|
| | |
| |
| |
| |
| |
| |
| | |
prompt (such as the one issuing the unlock request).
This caused the server to die if the wrong password was entered when unlocking
from the command line with -U (nasty).
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of characters which may be inserted or deleted is the screen width, not one
less (and similarly for lines and height); and if characters or lines are
deleted by moving the ones that follow, the space at the end needs to be
cleared.
This appears to solve long-standing redraw issues most visible when using the
force-width option then scrolling in view(1) or unwrapping lines in emacs.
|
| | |
| |
| |
| |
| | |
successfully changed - if already in a different mode, it would corrupt the
mode data.
|
| | |
| |
| |
| |
| | |
and the clock is actually updated. It was already used for lock-server but not
here.
|
| | |
| |
| |
| | |
otherwise colour 8 isn't reset properly.
|
| | |
| |
| |
| | |
shown in the wrong style.
|
| | |
| |
| |
| | |
stdin/stdout/stderr active, so dup them to /dev/null.
|
| | | |
|
| | |
| |
| |
| |
| | |
done for UTF-8, limit to the maximum length correctly when printing, and always
print a space even if the left string is longer than the width available.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
okay nicm@
|
| | |
| |
| |
| | |
an error.
|