| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
From Tiago Cunha.
|
|
|
|
|
| |
that it can be restored when moving back to that cell with selectp
-L/-R/etc. From Suraj N Kurapati.
|
|
|
|
| |
attach. Based on a diff from J Raynor.
|
|
|
|
| |
Raynor.
|
|
|
|
|
|
| |
server until after the configuration file completes. This prevents it
racing against run-shell or if-shell in .tmux.conf that run in the
background.
|
|
|
|
| |
thing that uses it now).
|
|
|
|
|
|
| |
while and in fact it is less useful that using the client ttyname. So
don't bother and don't pass it from the client. If we need it in future
it is in c->environ.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
descriptors rather than strings.
- Each session still has a current working directory.
- New sessions still get their working directory from the client that
created them or its attached session if any.
- New windows are created by default in the session working directory.
- The -c flag to new, neww, splitw allows the working directory to be
overridden.
- The -c flag to attach let's the session working directory be changed.
- The default-path option has been removed.
To get the equivalent to default-path '.', do:
bind c neww -c $PWD
To get the equivalent of default-path '~', do:
bind c neww -c ~
This also changes the client identify protocol to be a set of messages rather
than one as well as some other changes that should make it easier to make
backwards-compatible protocol changes in future.
|
| |
|
|
|
|
| |
length.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for
that window, clear the window->flags as well, otherwise sessions may
well still see flags for winlinks long since cleared.
This therefore introduces WINDOW_ALERTFLAGS to help with this.
|
|
|
|
| |
something other than pane_current_command.
|
|
|
|
|
| |
be NULL. Avoids crash when a command in a command client can't be
parsed.
|
| |
|
|
|
|
|
| |
during idle periods (like the other states are) because we'd miss
events. So add a server option to control them. Defaults to off.
|
|
|
|
| |
discussion with Hayaki Saito a while ago.
|
|
|
|
| |
on a diff from George Nachman a while back.
|
|
|
|
|
| |
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead
of the ones we were using earlier.
|
|
|
|
| |
save memory by using an RB tree. From Tiago Cunha.
|
| |
|
|
|
|
| |
highlighted. From Thomas Adam.
|
|
|
|
| |
few and unnecessary.
|
| |
|
|
|
|
| |
popen, from Chris Johnsen.
|
| |
|
|
|
|
| |
George Nachman.
|
|
|
|
| |
to use it, extended from a diff from George Nachman.
|
|
|
|
| |
is woken up again (with wait-for -S). From Thiago Padilha.
|
| |
|
|
|
|
| |
session exists. If -A is used, -D behaves like -d to attach-session.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
window or unzoom (restored to the normal layout) if it already zoomed,
bound to C-b z by default. The pane is unzoomed on pretty much any
excuse whatsoever.
We considered making this a new layout but the requirements are quite
different from layouts so decided it is better as a special case. Each
current layout cell is saved, a temporary one-cell layout generated and
all except the active pane set to NULL.
Prompted by suggestions and scripts from several. Thanks to Aaron Jensen
and Thiago Padilha for testing an earlier version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commands and allow a command to block execution of subsequent
commands. This allows run-shell and if-shell to be synchronous which has
been much requested.
Each client has a default command queue and commands are consumed one at
a time from it. A command may suspend execution from the queue by
returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() -
for example run-shell does this from the callback that is fired after
the job is freed.
When the command queue becomes empty, command clients are automatically
exited (unless attaching). A callback is also fired - this is used for
nested commands in, for example, if-shell which can block execution of
the client's cmdq until a new cmdq becomes empty.
Also merge all the old error/info/print functions together and lose the
old curclient/cmdclient distinction - a cmdq is bound to one client (or
none if in the configuration file), this is a command client if
c->session is NULL otherwise an attached client.
|
| |
|
|
|
|
|
| |
cmd_find_client to tell it whether or not to show errors, sometimes it's
needed and sometimes not.
|
|
|
|
| |
immediately.
|
|
|
|
| |
work by Aaron Jensen.
|
|
|
|
| |
Aaron Jensen.
|
|
|
|
| |
wrapped line, based on a diff from George Nachman.
|
| |
|
| |
|
|
|
|
| |
sequences, from George Nachman.
|
|
|
|
| |
all on the stack.
|
| |
|