Age | Commit message (Collapse) | Author |
|
|
|
New option, mouse-select-pane. If on, the mouse may be used to select the
current pane.
Suggested by sthen@ and also by someone else ages ago who I have forgotten.
|
|
There is no point setting the scroll region up for line feeds unless scrolling
is actually going to happen, so don't.
|
|
Add "grouped sessions" which have independent name, options, current window and
so on but where the linked windows are synchronized (ie creating, killing
windows and so on are mirrored between the sessions). A grouped session may be
created by passing -t to new-session.
Had this around for a while, tested by a couple of people.
|
|
|
|
Support for individual session idle time locking. May be enabled by turning off
the lock-server option (it is on by default). When this is off, each session
locks when it has been idle for the lock-after-time setting. When on, the
entire server locks when ALL sessions have been idle for their individual
lock-after-time settings.
This replaces one global-only option (lock-after-time) with another
(lock-server), but the default behaviour is usually preferable so there don't
seem to be many alternatives.
Diff/idea largely from Thomas Adam, tweaked by me.
|
|
Instead of passing a struct pollfd ** around through various functions, build
them into a tree and then convert into a flat poll array before and after poll.
This adds a little code but should reduce annoying problems with ordering when
adding new things that also need to be polled.
|
|
|
|
|
|
|
|
|
|
|
|
The UTF-8 detection idea doesn't work and I am reasonably happy with the
current methods, so remove the (already #ifdef 0'd) code.
|
|
|
|
Add a simple synchronize-panes window option: when set, all input to any pane
that is part of the window is also sent to all other panes in the same
window. Suggested by several, most recently Tomasz Pajor.
|
|
Be less aggressive about turning the cursor off, only explicitly turn it off
when tmux is redrawing, otherwise leave in the state set by the application.
|
|
|
|
Support J and K for scroll up and scroll down in copy mode with vi keys,
suggested by martynas.
|
|
Fix comment.
|
|
|
|
Accept ^? for backspace as well as BSpace.
|
|
|
|
Remove scroll mode which is now redundant, copy mode should be used instead.
The = key binding now does nothing.
|
|
Make C-Up and C-Down in copy mode scroll the screen up and down one line
without moving the cursor, like Up and Down in scroll mode (which will shortly
disappear).
|
|
If no target client is specified to commands which accept one, try to guess the
current client, in a similar manner to how sessions already work: if the
current session can be established and has only one client, use that; otherwise
use the most recently created client.
|
|
tweak previous;
|
|
Get / and ? the right way round in vi mode, and use : for goto line rather than
g.
|
|
Check for already locked/suspended clients in server_lock_client rather than
its callers.
|
|
Add a key string for space ("Space") and document the names, suggested by
guenther@. Also document how to bind " and ', suggested by miod@.
|
|
C-v and M-v too.
|
|
Support C-n/C-p with emacs keys in choice mode, also fix a comment.
|
|
|
|
New lock-client and lock-session commands to lock an individual client or all
clients attached to a session respectively.
|
|
Don't allow locked or suspended clients to limit the size of active clients.
|
|
Remove PROMPT_HIDDEN code which is now unused.
|
|
|
|
|
|
|
|
|
|
Support -c like sh(1) to execute a command, useful when tmux is a login
shell. Suggested by halex@.
This includes another protocol version increase (the last for now) so again
restart the tmux server before upgrading.
|
|
On SIGTERM, just abandon any suspended/locked clients and leave them to it,
otherwise the server will hang around (refusing new connections) until they
exit properly.
|
|
Don't die if the client is detaching (the tty has been closed) after waking up
from locking.
|
|
to OpenBSD patchset 347.
|
|
|
|
Remove the internal tmux locking and instead detach each client and run the
command specified by a new option "lock-command" (by default "lock -np") in
each client.
This means each terminal has to be unlocked individually but simplifies the
code and allows the system password to be used to unlock.
Note that the set-password command is gone, so it will need to be removed from
configuration files, and the -U command line flag has been removed.
This is the third protocol version change so again it is best to stop the tmux
server before upgrading.
|
|
Trim some code by moving the ioctl(TIOCGWINSZ) after SIGWINCH from the client
into the server.
This is another (the second of four) protocol version changes coming this
morning, so again the server should be killed before upgrading.
|
|
Don't attempt to open() the tty path, rely on the client sending its stdin fd
with imsg and fatal if it doesn't, then set the FD_CLOEXEC flag in tty_init
instead of tty_open to prevent them leaking into child processes if any are
created between the two calls.
This bumps the protocol version, so the tmux server should be killed before
upgrading.
|
|
Be more careful about what flags are cleared when opening the terminal,
otherwise the opened/started flags are cleared and the terminal never released.
|
|
|
|
in configure which tried to deal with the fallout from their horrible package
management.
|