| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
jobs, this means that if the same job is used for different windows or
panes (for example in pane-border-format), it will be run separately for
each pane.
|
|
|
|
|
|
|
|
|
|
|
| |
main issue is that if we have two panes, A with 1002 and B with 1003, we
need to set 1003 outside tmux in order to get all the mouse events, but
then we need to suppress the ones that pane A doesn't want. This is easy
in SGR mouse mode, because buttons == 3 is only used for movement events
(for other events the trailing m/M marks a release instead), but in
normal mouse mode we can't tell so easily. So for that, look at the
previous event instead - if it is drag+release as well, then the current
event is a movement event.
|
|
|
|
| |
not string.
|
| |
|
|
|
|
| |
modified keys.
|
| |
|
| |
|
|
|
|
|
| |
contains items of the form "alias=command". This is consulted when an
unknown command is parsed.
|
|
|
|
|
|
| |
and support -a for array options. Allow the separator for set to be
specified in the options table (will be used for backwards compatibility
later).
|
|
|
|
|
|
| |
(this means inlining forkpty()).
ok deraadt
|
|
|
|
| |
utf8_stravis() which calls our existing utf8_strvis() and use it instead
|
| |
|
| |
|
|
|
|
| |
just return NULL.
|
|
|
|
|
|
|
|
| |
commands this pushes more of the code into options.c and ties it more
closely to the options table rather than having an unnecessary
split. Also add support for array options (will be used later). Only
(intentional) user visible change is that show-options output is now
passed through vis(3) with VIS_DQ so quotes are escaped.
|
| |
|
| |
|
|
|
|
| |
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
are expanded so can compare formats). And expand the condition to
#{?a,b,c} (the "a" part) if it doesn't work as a simple lookup.
Also add FORMAT_NOJOBS flag to disable jobs in a format.
|
| |
|
|
|
|
| |
from S Gilles.
|
|
|
|
|
|
| |
the same as normal searching but updates the cursor position and marked
search terms as you type. C-r and C-s in the prompt repeat the search,
once finished searching (with Enter), N and n work as before.
|
| |
|
|
|
|
| |
attach-session/switch-client, reported by Thomas Sattle.
|
|
|
|
|
| |
callback, so move the callback outside of server_client_check_mouse and
use a new special key code to indicate it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
that it is not affected by scrolling. If MouseDragEnd1Pane is bound to
the new "stop-selection" command:
bind -Tcopy-mode MouseDragEnd1Pane stop-selection
A selection made with the mouse will stay as it is after button 1 is
released. (It also works bound to a key.)
From Artem Fokin.
|
| |
|
|
|
|
|
|
|
| |
if the pane is zoomed, so instead add a new function to just check if
the pane is actually on screen (most commands still want to accept panes
invisible by zoom). Also reject panes outside the window for various
special targets. Problem reported by Sean Haugh.
|
|
|
|
| |
feeds, and do not move cursor to end for full width panes).
|
|
|
|
|
|
|
| |
supports them (that is, if it advertises itself as a VT420 - probably
just xterm). These are the vertical equivalent of the scroll region and
allow much faster scrolling of panes that do not take up the full width
of the terminal.
|
|
|
|
|
| |
Unicode characters fit in 24 bits, so we can leave key_code as 64 bits
and change KEYC_BASE down to 0x10000000.
|
|
|
|
|
|
| |
add a link of winlinks to each window and a pointer to the session to
each winlink. Also rewrite the alerts processing to return to the old
behaviour (alert in any window sets the flag on any winlink).
|
| |
|
| |
|
|
|
|
| |
existing hooks to use notifys instead.
|
|
|
|
|
| |
that the user can get at additional information - now used for the
"hook" format, more to come.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but there is also now a global command queue. Instead of command queues
being dispatched on demand from wherever the command happens to be
added, they are now all dispatched from the top level server
loop. Command queues may now also include callbacks as well as commands,
and items may be inserted after the current command as well as at the end.
This all makes command queues significantly more predictable and easier
to use, and avoids the complex multiple nested command queues used by
source-file, if-shell and friends.
A mass rename of struct cmdq to a better name (cmdq_item probably) is
coming.
|
| |
|
| |
|
|
|
|
| |
the complicated ones get no hooks for now (more to come).
|
|
|
|
| |
from the end of every command queue (which could be nested).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
confusing, particularly trying to automatically figure out what target
hooks should be using. So simplify it:
- drop before hooks entirely, they don't seem to be very useful;
- commands with special requirements now fire their own after hook (for
example, if they change session or window, or if they have -t and -s
and need to choose which one the hook uses as current target);
- commands with no special requirements can have the CMD_AFTERHOOK flag
added and they will use the -t state.
At the moment new-session, new-window, split-window fire their own hook,
and display-message uses the flag. The remaining commands still need to
be looked at.
|