summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-07-17Initialize client fd to -1 as well, from Bobby Powers.nicm
2015-07-13Reset G0/G1 state when resetting everything else with send-keys -R.nicm
2015-07-13Ignore environment variables that are too long to send to the server.nicm
2015-07-13Fix line endings.nicm
2015-07-13Initialize cwd fd to -1 so that we don't close fd 0 if the client isnicm
destroyed before it is changed. Also allow ttyname() to fail. Fixes problems when running out of file descriptors reported by Bruno Sutic.
2015-07-13Add a format to show if client is a control client. From Bruno Sutic.nicm
2015-07-13Add a -s flag to show-environment to output Bourne shell commands a lanicm
ssh-agent. Mostly from Cam Hutchison with some changes by me.
2015-07-13Revert to marking lines as wrapped on newlines, fixes problems withnicm
capturep -J.
2015-07-06Update environment with -E when attach-session used on an alreadynicm
attached session or switch-client used on the current session. From Cam Hutchison.
2015-06-18Use the SRCDST define for usage.nicm
2015-06-18Use xsnprintf.nicm
2015-06-18Remove a stray : and tweak paragraph.nicm
2015-06-17Change break-pane to take target and source panes (-t and -s) in linenicm
with other commands, from Thomas Adam.
2015-06-17Break cmdq_continue inner loop into a helper function.nicm
2015-06-17Move the shuffle code from new-window -a into a function and add a -anicm
flag for move-window too. From Thomas Adam.
2015-06-17Use an explicit job state instead of avoid closing our side of thenicm
socketpair and setting it to -1 to mark when the other side is closed. This avoids closing it while the libevent bufferevent still has it (it could try to add it to the polled set which some mechanisms don't like). Fixes part a problem reported by Bruno Sutic.
2015-06-15Add window_activity format, from Thomas Adam based on a diff originallynicm
from propos6 at gmail dot com.
2015-06-14Add a format for client PID (client_pid) and server PID (pid). Diff fornicm
client_pid from Thomas Adam.
2015-06-10wp->tty is a char [] not a char * so it can't be NULL. From Thomas Adam.nicm
2015-06-09Fix loop comparison broken in last commit, from Thomas Adam.nicm
2015-06-07Add -E flag when attaching or switching client to bypassnicm
update-environment, from Steven Lu.
2015-06-05Use ints for the calculations rather than u_char, they could end upnicm
signed.
2015-06-05Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)nicm
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
2015-06-05Use fixed colour tables rather than generated and do a quick search fornicm
exact match before doing the distance comparison.
2015-06-05Similarly, for sessions use a callback to free rather than checkingnicm
every loop.
2015-06-05Change deref to the more sensible unref, and add a couple I missed before.nicm
2015-06-05Instead of putting dead clients on a list and checking it every loop,nicm
use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost.
2015-06-05Do not use the key variable uninitialized (in a debug log statement),nicm
reported by jungleboogie0 at gmail dot com.
2015-06-05Fix a warning.nicm
2015-06-05Make it so that if a window or session target is prefixed with an =,nicm
only an exact name or index match is accepted, no special character, prefix match, or fnmatch.
2015-06-04Move the nested check from client to server and compare the client ttynicm
name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX.
2015-06-04tweak SYNOPSIS and usage();jmc
2015-06-04Make unsetting a global option restore it to the default. Diff lyingnicm
around for a while, I have forgotten who suggested it :-/.
2015-06-04Add support for a single "marked pane". There is one marked pane in thenicm
server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
2015-06-04teminal -> terminal, from Corey Farwell.nicm
2015-06-01Missing t at end of response, from Vincent Bernat.nicm
2015-06-01Clear signal handlers before event_reinit as apparently it can otherwisenicm
cause libevent to go strange.
2015-05-31does not need syslog.hderaadt
2015-05-29Don't use special strings if #() commands fail, just remove the formatnicm
(as if the command produced nothing). Makes constructions that can fail like '#(test whatever && echo foo)' work as they did before.
2015-05-29Expand formats again inside #(), and free the temporaries.nicm
2015-05-29Use RB_MIN to get the lowest index for the current window when creatingnicm
grouped sessions, rather than using RB_ROOT.
2015-05-27Move the jobs output cache into the formats code so that #() work morenicm
generally (for example, again working in set-titles-string).
2015-05-20Return empty string if format is empty rather than attempting tonicm
allocate zero bytes.
2015-05-19In terminfo, sometimes cvvis implies cnorm and sometimes it doesn't, sonicm
don't assume it does. Fixes missing cursor with emacs-in-tmux-in-tmux.
2015-05-12To replace c0-*, add a high watermark to the pty event, and also backoffnicm
when the any of the ttys the pane is going to write to has buffered enough data.
2015-05-12Tidy blank lines when outputting server info.nicm
2015-05-12Add a session_alerts format which is a list of all the alerts in thenicm
current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ.
2015-05-12Add bell-action "other" to pass through bells in all windows except thenicm
current, suggested by Jan ONDREJ.
2015-05-11Left the c0-* options behind in the table.nicm
2015-05-11Remove the c0-* options which never really worked satisfactorily. Goingnicm
to try something else...