| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
to -t instead of a target session. Also allow them to contain only one
session.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
again if the expanded form changes (otherwise at most once per second as
usual). Fixes issues reported by Gregory Pakosz.
|
| |
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
| |
tell if the buffer is too small, and an expanding buffer is overkill
anyway.
|
| | |
|
| |
|
|
| |
suggested by Kevin Brubeck Unhammer.
|
| | |
|
| |
|
|
| |
different key bindings for different sessions and a few other things.
|
| |
|
|
| |
command name (will also be used for more later).
|
| | |
|
| |
|
|
|
| |
server start time can now be accessed with a new start_time format (use:
tmux display -p '#{t:start_time}')
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
control mode (which needs to know all panes), from George Nachman.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of storing a full grid_cell with UTF-8 data and everything, store a new
type grid_cell_entry. This can either be the cell itself (for ASCII
cells), or an offset into an extended array (per line) for UTF-8
data.
This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the
majority for most users) without the complexity of the shadow array we
had before. Grid memory without any UTF-8 is about half.
The disadvantage that cells can no longer be modified in place and need
to be copied out of the grid and back but it turned out to be lot less
complicated than I expected.
|
| |
|
|
|
| |
terminal. We still support non-UTF-8 terminals outside tmux, but inside
it is always UTF-8 (as when the utf8 and status-utf8 options were on).
|
| | |
|
| |
|
|
|
|
|
|
|
| |
around, we can't use file descriptors for the working directory because
we will be unable to pass it to a privileged process to tell it where to
read or write files or spawn children. So move tmux back to using
strings for the current working directory. We try to check it exists
with access() when it is set but ultimately fall back to ~ if it fails
at time of use (or / if that fails too).
|
| | |
|
| | |
|
| |
|
|
| |
Daniel De Graaf.
|
| |
|
|
| |
NULL. From Patrick Palka.
|
| |
|
|
|
|
|
| |
#{=10:...} length limit, add #{t:...} to convert a time_t format to a
string, #{b:...} for basename and #{d:...} for dirname. Remove all the
foo_string time formats as they can now be replaced by "t:", for example
#{window_activity_string} becomes #{t:window_activity}.
|
| |
|
|
| |
(this was the previous behaviour).
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
only evaluated on demand rather than each time a format tree is
constructed. Use this for expensive formats like pane_current_command.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
from propos6 at gmail dot com.
|