| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | | |
functions (currently don't fully work, this is to make fix easier).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and some people may use shells which do not support it. Instead, make an empty
default-command option mean a login shell, and fork it with a - in argv[0]
which is the method used by login(1).
Also fix the automatic-rename code to handle this correctly and to strip a
leading - if present.
|
| | |
| | |
| | |
| | |
| | | |
clear. No functional change, getting this out of the way to make later options
changes easier.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
functions found by lint.
Also move a couple of internal function declarations into file scope.
|
| | |
| | |
| | |
| | | |
duplicate. Found by lint.
|
| | |
| | |
| | |
| | | |
Also remove some old debug output which was #if 0.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
compatibility, *s are implicitly added at the start and end of the pattern.
Also display the line number and the entire line in the results, and lose the
nasty section_string function and the now empty util.c file.
Initially from Tiago Cunha.
|
| | |
| | |
| | |
| | | |
simplify the search window function.
|
| | |
| | |
| | |
| | |
| | |
| | | |
normal eight-bit output is wrong, separate it into a different function. Fixes
spacing when mixing UTF-8 with some escape sequences, notably the way w3m does
it.
|
| | | |
|
| | |
| | |
| | |
| | | |
vttest test happy.
|
| | |
| | |
| | |
| | |
| | | |
first cursor test in vttest (in ports) to pass; it still shops a few more
problems though.
|
| | |
| | |
| | |
| | |
| | | |
characters in status-left and status-right (if on, they are treated as UTF-8;
otherwise passed through).
|
| | |
| | |
| | |
| | |
| | |
| | | |
status-left/status-right work properly. At the moment any top-bit-set
characters are assumed to be UTF-8: a status-utf8 option to configure this will
come shortly.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
crashes when trying to find the new active pane.
While here, nuke an unused pane flag.
Fixes PR 6160, reported by and a slightly different version of diff tested by
ralf.horstmann at gmx.de.
|
| |
| |
| |
| |
| |
| |
| | |
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|
|/
|
|
| |
directory (like current process). From Marcel Partap.
|
|
|
|
| |
than just the window. Also use a helper function for the inner loop.
|
|
|
|
| |
Thomas Adam.
|
|
|
|
| |
suspended.
|
|
|
|
|
|
|
| |
Fix up window reference counting and don't crash if the rename timer
fires while the window is dead but still referenced. Fixes problem
reported by Michael Scholz.
|
|
|
|
|
|
| |
Use a separate define for each default format template and strip clutter
from the choose-tree defaults.
|
|
|
|
|
|
|
| |
Instead of numbering choose mode items 0-9a-z and then nothing, number
them all and if there are more than 10 use a prompt when 0-9 is
pressed. From Thomas Adam.
|
|
|
|
|
|
|
| |
Add a queue of notifys and a way to turn them off and on (we do not want
notifys to happen during some commands). Based on code from George
Nachman.
|
|
|
|
|
|
|
|
| |
Make command exec functions return an enum rather than -1/0/1 values and
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
|
|
|
|
|
| |
xfree is not particularly helpful, remove it. From Thomas Adam.
|
|
|
|
|
|
|
| |
Add choose-tree command to show windows and sessions in the same
list. Change choose-window and -session to use the same code. From
Thomas Adam.
|
|
|
|
|
| |
Clear flags across all sessions, from Thomas Adam.
|
|
|
|
|
|
|
| |
Provide common helper function for adding windows and sessions to choose
lists and expand %% in command before using it rather than at callback
time. From Thomas Adam.
|
|
|
|
|
| |
Clean up and simplify the choose mode code, from Thomas Adam.
|
|
|
|
|
|
|
|
|
| |
Add a skeleton mode to tmux (called "control mode") that let's tmux
commands be sent and output received on stdout. This can be used to
integrate with other terminal emulators and should allow some other
things to be made simpler later. More to come so doesn't do much yet and
deliberately not documented.
|
|
|
|
|
|
| |
Strip layout from choose-windows again (leave in list-windows),
suggested by Romain Francoise, diff from Thomas Adam.
|
|
|
|
|
| |
Fix client templates, from Romain Francoise.
|
|
|
|
|
| |
Simplify logging and just fprintf(stderr, ...) for early errors.
|
|
|
|
|
| |
Use a predefined structure for not-space cells used to set attributes.
|
|
|
|
|
|
| |
Store client in tty struct directly instead of using a callback function
pointer.
|
|
|
|
|
| |
Store mouse data in tty structure not on the stack.
|
|
|
|
|
|
| |
Switch all of the various choose- and list- commands over to the format
infrastructure, from Thomas Adam.
|
|
|
|
|
| |
Add a helper function to send ready message.
|
|
|
|
|
|
| |
If there are any terminals with insert mode but not ich1, they can go
through the slow path. Tidies code slightly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of passing stdin/stdout/stderr file descriptors over imsg and
handling them in the server, handle them in the client and pass buffers
over imsg. This is much tidier for some upcoming changes and the
performance hit isn't critical.
The tty fd is still passed to the server as before.
This bumps the tmux protocol version so new clients and old servers are
incompatible.
|
|
|
|
|
| |
Add a helper function to open the terminal for attach-/new-session.
|
|
|
|
|
|
|
| |
Add a flag to move-window to renumber the windows in a session (closing
any gaps) and add an option to do this automatically each time a window
is killed. From Thomas Adam.
|
|
|
|
|
|
| |
Add a buffer with all input from last ground state, will be used for
control mode. From George Nachman.
|
|
|
|
|
|
| |
Stop accepting new clients for 1 second on EMFILE/ENFILE. Based on
ongoing fixes to other daemons by Theo.
|
|
|
|
|
| |
Fix comment for mouse bits.
|
|
|
|
|
|
| |
Add a layout history which can be stepped through with select-layout -u
and -U commands (bound to 'u' and 'U' by default).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a simple form of output rate limiting by counting the number of
certain C0 sequences (linefeeds, backspaces, carriage returns) and if it
exceeds a threshold (current default 50/millisecond), start to redraw
the pane every 100 milliseconds instead of making each change as it
comes. Two configuration options - c0-change-trigger and
c0-change-interval.
This makes tmux much more responsive under very fast output (for example
yes(1) or accidentally cat'ing a large file) but may not be perfect on
all terminals and connections - feedback very welcome, particularly
where this change has a negative rather than positive effect (making it
off by default is a possibility).
After much experimentation based originally on a request Robin Lee
Powell (which ended with a completely different solution), this idea
from discussion with Ailin Nemui.
|