summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
AgeCommit message (Collapse)Author
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state. Change kvm_getprocs() (both the sysctl() and kvm backends) to report the "most active" scheduler state for the process's threads. tweaks kettenis@ feedback and ok matthew@
2014-06-25Handle escaped back slashes and missing new lines at end of line by usingTobias Stoeckmann
fparseln instead of reimplementing it on our own. with input by and ok nicm@
2014-06-23Allow keys and send-keys to invisible panes, from saggy-kun at users dotNicholas Marriott
sf dot net.
2014-06-23Count mouse clicks correctly, from Balazs Kezes.Nicholas Marriott
2014-06-20Comment style nits.Nicholas Marriott
2014-06-20Make -S- and -E- mean the start and end to capture-pane to avoid havingNicholas Marriott
to faff around with huge numbers to get everything.
2014-06-19Copy newline when at EOL in vi(1) mode, from Balazs Kezes.Nicholas Marriott
2014-06-19Reset the buttons when the wheel is used, from Balazs Kezes.Nicholas Marriott
2014-06-19Some terminals send spurious releases for mouse wheel in SGR mouse mode,Nicholas Marriott
this causes confusion when tmux uses SGR outside but the application inside tmux is using conventional xterm mouse reporting. So suppress obviously bad input. From Timothy Allen, SF bug 128.
2014-06-06Properly track switching G0 and G1 modes between US-ASCII and VT100 lineNicholas Marriott
drawing rather than just treating them as SO and SI.
2014-06-05Reset properly when c0-change-trigger is increased from zero so panesNicholas Marriott
don't get stuck.
2014-05-27Handle the top bit of xterm(1)-style modifier keys, based on a diff fromNicholas Marriott
Balazs Kezes.
2014-05-27Add some formats for pane bounds.Nicholas Marriott
2014-05-14Change key-table to mode-table to allow for some future work. From KeithNicholas Marriott
Amling.
2014-05-14Simplify copy lines, from Keith Amling.Nicholas Marriott
2014-05-14Now that cmdlists are reference counted, there is no need for two-stepNicholas Marriott
deletion via the dead_key_bindings tree. From Keith Amling.
2014-05-13Don't allow multiple buffers with the same name, from Thomas Adam.Nicholas Marriott
2014-05-13If multiple arguments are given to new-session, new-window,Nicholas Marriott
split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor.
2014-05-13Add a copy mode key binding to copy to a named buffer. From J Raynor.Nicholas Marriott
2014-05-13Add support for named buffers. If you don't name a buffer, things workNicholas Marriott
much as before - buffers are automatically named "buffer0000", "buffer0001" and so on and ordered as a stack. Buffers can be named explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b buffer0000 -n foo"). If buffers are named explicitly, they are not deleted when buffer-limit is reached. Diff from J Raynor.
2014-05-09Just use char ** for argv like normal people, not char *const *.Nicholas Marriott
2014-05-08Send up and down keys for mouse wheel in alternate screen mode (when itNicholas Marriott
normally does nothing), from Marcel Partap.
2014-05-08Instead of forcing mouse scroll to 1 in choose mode, scale it downNicholas Marriott
instead. Means modifier keys still increase the line count, just not as much. Based on a diff from Marcel Partap.
2014-05-08Plug a memory leak, from J Raynor.Nicholas Marriott
2014-05-08Both the two previous ways of navigating panes by direction haveNicholas Marriott
irritating flaws: a) The old way of always using the top or left if the choice is ambiguous is annoying when the layout is unbalanced. b) The new way of remembering the last used pane is annoying if the layout is balanced and the leftmost is obvious to the user (because clearly if we go right from the top-left in a tiled set of four we want to end up in top-right, even if we were last using the bottom-right). So instead, use a combination of both: if there is only one possible pane alongside the current pane, move to it, otherwise choose the most recently used of the choice.
2014-05-08Handle colour 8 properly in the 256 colour palette, from Timothy Allen.Nicholas Marriott
2014-04-29fcntl.h is still needed here.Nicholas Marriott
2014-04-25specifying ECHOCTL once is enoughJonathan Gray
ok nicm@
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersNicholas Marriott
to be global. Move to paste.c.
2014-04-23Differentiate between linked and unlinked window closes and renames,Nicholas Marriott
like we already do for adds. From Andre Masella.
2014-04-17#nnT went away a while ago, remove a leftover from the manpage.Nicholas Marriott
2014-04-17Add some UTF-8 utility functions and use them to prevent the width limitNicholas Marriott
on formats from splitting UTF-8 characters improperly.
2014-04-17Some more long lines.Nicholas Marriott
2014-04-17Only scroll by one line at a time in choose mode, lists are generallyNicholas Marriott
pretty small.
2014-04-17Set PATH explicitly, either from client or sessionNicholas Marriott
environment. Previously it came from the session environment. From J Raynor.
2014-04-17Wrap some long lines.Nicholas Marriott
2014-04-17Don't limit the DCS buffer to 256 bytes, expand it as needed. RequestedNicholas Marriott
by Suraj Kurapati.
2014-04-17Remove some unnecessary includes and fix a typo.Nicholas Marriott
2014-04-17Correct the dance to fix the active pane in join-pane by pulling theNicholas Marriott
(right) code from break-pane and window_remove_pane into a helper function.
2014-04-17Remove the "info" message mechanism, this was only used for about fiveNicholas Marriott
mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
2014-04-17Extend the -q flag to set-option to suppress errors about unknownNicholas Marriott
options - this will allow options to be removed more easily.
2014-04-17Do not show the -fg, -bg and -attr options. If asked for one explicitly,Nicholas Marriott
show the equivalent -style option instead.
2014-04-17Remove the monitor-content option and associated bits and bobs. It'sNicholas Marriott
never worked very well. If there is a big demand for it to return, will consider better ways to do it.
2014-04-16Memory leak in error path and unnecessary assignment, from clang.Nicholas Marriott
2014-04-16Remove a leftover prototype and fix some spacing.Nicholas Marriott
2014-04-16Remove the choose-list command to prepare for some later choose-* work.Nicholas Marriott
2014-04-16Because we pass the file descriptor from client to server, tmux can'tNicholas Marriott
usefully work if stdin is /dev/tty. Complain about it more clearly.
2014-04-14Don't leak socketpair file descriptors if fork fails. Spotted by BalazsNicholas Marriott
Kezes.
2014-04-11Don't blindly increase offsets by the return value of snprintf, if thereNicholas Marriott
wasn't enough space this will go off the end. Instead clamp to the available space. Fixes crash reported by Julien Rebetez.
2014-04-07save-buffer needs to use O_TRUNC.Nicholas Marriott