| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
| |
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks.
|
|
|
|
| |
user-specified one.
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
functions (currently don't fully work, this is to make fix easier).
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
clear. No functional change, getting this out of the way to make later options
changes easier.
|
| |
|
| |
|
|
|
|
|
|
| |
functions found by lint.
Also move a couple of internal function declarations into file scope.
|
|
|
|
| |
duplicate. Found by lint.
|
|
|
|
| |
Also remove some old debug output which was #if 0.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
simplify the search window function.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
vttest test happy.
|
|
|
|
|
| |
first cursor test in vttest (in ports) to pass; it still shops a few more
problems though.
|
|
|
|
|
| |
characters in status-left and status-right (if on, they are treated as UTF-8;
otherwise passed through).
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
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
|