| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
| |
some escapes i missed;
|
|
|
|
|
|
| |
Make pane/window wrapping more logical (so with 10 windows, +10 from
window 5 stays in the same place), and tidy the code. From Tiago Cunha.
|
|
|
|
|
|
|
|
|
| |
Return the command client return code with MSG_EXIT now that MSG_ERROR and
MSG_PRINT are unused.
New clients should be compatible with old tmux servers but vice versa may print
an error.
|
|
|
|
|
| |
replace some magic mouse constants with defines for clarity. ok nicm
|
|
|
|
|
|
|
| |
Custom layouts. list-windows command displays the layout as a string (such as
"bb62,159x48,0,0{79x48,0,0,79x48,80,0}") and it can be applied to another
window (with the same number of panes or fewer) using select-layout.
|
|
|
|
|
|
|
|
|
|
| |
Send all three of stdin, stdout, stderr from the client to the server, so that
commands can directly make use of them. This means that load-buffer and
save-buffer can have "-" as the file to read from stdin or write to stdout.
This is a protocol version bump so the tmux server will need to be restarted
after upgrade (or an older client used).
|
|
|
|
|
|
|
| |
Store the current working directory in the session, change the default-path
option to default to empty and make that mean that the stored session CWD is
used.
|
| |
|
|
|
|
|
|
|
| |
New option, detach-on-destroy, to set what happens to a client when the session
it is attached to is destroyed. If on (the default), it is detached; if off, it
is switched to the most recently active session.
|
|
|
|
|
| |
Use server_destroy_session() for kill-session.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setting the cmdlist pointer in the bind-key to NULL to prevent it being freed
after the command is executing is bogus because it may still be needed if the
same command is going to be executed again (for example if you "bind-key a
bind-key b ..."). Making a copy is hard, so instead add a reference count to
the cmd_list.
While here, also print bind-key -n and the rest of the flags properly.
Fixes problem reported by mcbride@.
|
| |
|
| |
|
|
|
|
|
| |
Add a choose-buffer command for easier use of the paste buffer stack.
|
|
|
|
|
|
| |
Extend the -t:+ and -t:- window targets for next and previous window to
accept an offset such as -t:+2. From Tiago Cunha.
|
|
|
|
|
|
| |
Having a list of winlinks->alerts for each session is stupid, just store
the alert flags directly in the winlink itself.
|
|
|
|
|
| |
Rename activity->alert in a couple of functions for consistency.
|
|
|
|
|
|
|
| |
Give tmux sockets (but not the containing folder) group
permissions. This allows hardlinks to the sockets to be used more
easily.
|
| |
|
| |
|
|
|
|
|
|
|
| |
we weren't overlapping.
Fixes "disappearing wide characters" glitch.
|
|
|
|
|
|
|
|
|
| |
Last change erroneously used the target argument for looking up the
client which caused pipe-pane to fail when used from the command
line. Instead pass NULL which should use the current client.
Spotted by Tiago Cunha.
|
|
|
|
|
| |
Add a missing command and some missing Ic, from Tiago Cunha.
|
| |
|
| |
|
|
|
|
|
| |
Couple of missing command aliases/flags, from Tiago Cunha.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix problems with window sizing seen by Raghavendra D Prabhu when
starting tmux from .xinitrc.
One of the very few things the server relies on the client for now is to
pass through a message on SIGWINCH, but there is a condition where
potentially a SIGWINCH may be lost during the transition from unattached
(main.c) to attached (client.c). So trigger a size change immediately
after the client installs its SIGWINCH handler.
Also, when the terminal is resized, reset the scroll region and cursor
position. Previously, we were clearing our saved idea of these, but in
fact some terminals do not reset them on resize, so this caused problems
during redraw.
While here make a resize to the same size not cause a redraw and rename
the tmux.out output log file to include the tmux PID.
|
|
|
|
|
|
| |
Support the status_replace # replacement sequences in the pipe-pane
command, thanks to Andrea Barisani.
|
|
|
|
|
| |
Shut up gcc4 warnings.
|
|
|
|
|
|
| |
This ioctl(TIOCGWINSZ) call is no longer necessary, the result is never
used and the server now does it later on the tty fd directly.
|
|
|
|
|
|
|
|
|
|
| |
When the mode-mouse option is on, support dragging to make a selection
in copy mode.
Also support the scroll wheel, although xterm strangely does not ignore
it in application mouse mode, causing redraw artifacts when scrolling up
(other terminals appear to be better behaved).
|
|
|
|
|
|
| |
Better to say "command key bindings" since we've just called them
command keys.
|
|
|
|
|
|
| |
There is no real reason not to list all the key bindings here rather
than just a selection.
|
|
|
|
|
|
| |
Rename some imsg bits to make namespace collisions less likely buf to
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
|
|
|
|
|
|
| |
Don't die if the client has been detached when the job finishes, just
don't display the output.
|
|
|
|
|
| |
Fix an out-of-date comment.
|
| |
|
|
|
|
|
|
| |
Enhance paste-buffer to allow lines to be separated by any string, from
Andrea Barisani.
|
|
|
|
|
| |
Colour+attribute options for status line alerts, from Alex Alexander.
|
|
|
|
|
|
| |
Accept (and document) "none" instead of "default" for attributes as it
is clearer and avoids confusion with default colours.
|
|
|
|
|
| |
Display C-@, etc, as C-Space, in list-keys.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
combinations such as C-Enter or C-Escape.
|
| |
|
| |
|
|
|
|
|
| |
We were only ever using the client to find the session anyway.
|