| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
on a fix from Marc Reisner.
|
| |
|
| |
|
|
|
|
|
|
| |
and the previous restored when the top is exited. If a mode that is
already on the stack is entered, the existing instance is moved to the
top as the active mode rather than being opened new.
|
| |
|
|
|
|
|
| |
its own mode definition struct with a different init function rather
than calling special setup functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
options for the terminal default colour, bypassing any inheritance from
other options. Prompted by a discussion with abieber@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
been a limitation for a long time.
There are two new options, window-size and default-size, and a new
command, resize-window. The force-width and force-height options and the
session_width and session_height formats have been removed.
The new window-size option tells tmux how to work out the size of
windows: largest means it picks the size of the largest session,
smallest the smallest session (similar to the old behaviour) and manual
means that it does not automatically resize windows. The default is
currently largest but this may change. aggressive-resize modifies the
choice of session for largest and smallest as it did before.
If a window is in a session attached to a client that is too small, only
part of the window is shown. tmux attempts to keep the cursor visible,
so the part of the window displayed is changed as the cursor moves (with
a small delay, to try and avoid excess redrawing when applications
redraw status lines or similar that are not currently visible). The
offset of the visible portion of the window is shown in status-right.
Drawing windows which are larger than the client is not as efficient as
those which fit, particularly when the cursor moves, so it is
recommended to avoid using this on slow machines or networks (set
window-size to smallest or manual).
The resize-window command can be used to resize a window manually. If it
is used, the window-size option is automatically set to manual for the
window (undo this with "setw -u window-size"). resize-window works in a
similar way to resize-pane (-U -D -L -R -x -y flags) but also has -a and
-A flags. -a sets the window to the size of the smallest client (what it
would be if window-size was smallest) and -A the largest.
For the same behaviour as force-width or force-height, use resize-window
-x or -y, and "setw -u window-size" to revert to automatic sizing..
If the global window-size option is set to manual, the default-size
option is used for new windows. If -x or -y is used with new-session,
that sets the default-size option for the new session.
The maximum size of a window is 10000x10000. But expect applications to
complain and much higher memory use if making a window excessively
big. The minimum size is the size required for the current layout
including borders.
The refresh-client command can be used to pan around a window, -U -D -L
-R moves up, down, left or right and -c returns to automatic cursor
tracking. The position is reset when the current window is changed.
|
|
|
|
|
| |
enabled by adding the Smulx capability with terminal-overrides (add
something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.
|
| |
|
|
|
|
| |
scroll region, from Soeren Tempel in GitHub issue 1487.
|
|
|
|
|
| |
C-y, only use the top buffer if no text has previously been killed. This
and previous change promped by discussion with kn@.
|
| |
|
|
|
|
| |
right parts of the status line.
|
| |
|
|
|
|
| |
hasn't changed, needed for resizing.
|
|
|
|
| |
all just use the three flags together (window, borders, status).
|
|
|
|
| |
count instead.
|
| |
|
|
|
|
|
|
| |
characters (some languages use up to five). This size doesn't make as
much difference now that UTF-8 goes into an extended cell. GitHub issue
1430.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
used by copy mode.
|
| |
|
|
|
|
| |
in the current key table. GitHub issue 1404.
|
|
|
|
| |
to the same thing).
|
|
|
|
| |
Aloni.
|
|
|
|
|
| |
the panes list, look through the layout cells for the nearest border and
resize that cell. From Dan Aloni in GitHub issue 1374.
|
|
|
|
|
| |
the cwd, and do not fall back to "." as it is pretty useless. GitHub
issue 1331.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
intended as the target client where the message should be displayed but
at some point (perhaps when -p was added), it was used for format
expansion too. This means it can get a bit weird where you have client
formats expanding for a client with a different current session than the
target session.
However, it is nice that display-message can be used to show information
about a specific client. So change so that the -c client will be used if
the session matches the target session (-t or default), otherwise the
best client will be chosen.
|
|
|
|
| |
item. Suggested by Matt Zagrabelny.
|
|
|
|
| |
GitHub issue 1284.
|
|
|
|
|
| |
not exit until jobs started from run-shell/if-shell have finished (add a
job flags member and a flag to indicate other jobs). GitHub issue 1245.
|
|
|
|
|
|
| |
automatically zoom the pane when the mode is entered and unzoom when it
exits, assuming the pane is not already zoomed. Add -Z to the default
key bindings.
|
|
|
|
|
|
|
| |
performance cost with a large history. Instead change back to using a
second grid and copying modified lines over which is much faster (this
doesn't revert to the old code however which didn't support UTF-8
properly). GitHub issue 1249.
|
|
|
|
| |
used yet but will be soon. From Thomas Adam.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
colour ("true" or "direct" colour). These consist of new entries (such
as "xterm-direct") which have a different setaf/setab implementation,
colors and pairs set to 0x1000000 and 0x10000, and a new RGB flag.
The setaf/setab definitions seem to be geared towards what ncurses (or
emacs maybe) needs, in that the new versions do only ANSI and RGB
colours (they can't be used for the 256 colour palette); they rely on
the silly ISO colon-separated version of SGR; and they use a weird
multiplication scheme so they still only need one argument. The higher
values of colors and pairs require a recent ncurses to parse.
tmux can use the RGB flag to detect RGB colour support (keeping the old
Tc extension for backwards compatibility for now). However, as we still
want to send 256 colour information unchanged when possible, the new
setaf/setab are awkward. So when RGB is present, reserve setaf/setab
only for ANSI colours and use the escape sequences directly for 256 and
RGB colours. (To my knowledge no recent terminal uses unusual escape
sequences for these in any case.)
|
| |
|
|
|
|
| |
1201.
|
|
|
|
|
| |
even layouts and to add a -E flag to select-layout to spread out cells
evenly without changing parent cells.
|
|
|
|
| |
characters (previously they were not accounted for).
|
| |
|