summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
AgeCommit message (Collapse)Author
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
2014-04-03Work out mouse scroll wheel effect when the mouse is first detected andNicholas Marriott
store it in struct mouse_event, reduce the scroll size the 3 but allow shift to reduce it to 1 and meta and ctrl to multiply by 3 if the terminal supports them, also support wheel in choose mode. From Marcel Partap.
2014-04-03A couple of trivial mouse-related style nits.Nicholas Marriott
2014-04-02Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makeNicholas Marriott
buffer_sample bigger to let it trim at window right edge.
2014-04-02Use the same logic for bell with and without visual-bell, from FilipNicholas Marriott
Moc.
2014-04-02Do not replace ## with # in status_replace1 because it'll be done laterNicholas Marriott
by the format code.
2014-04-02pane_start_path has gone away.Nicholas Marriott
2014-04-01missed commit matching log.cTheo de Raadt
2014-03-31Don't crash with a zero-length argument to setb, from J Raynor.Nicholas Marriott
2014-03-31In four byte UTF-8 sequences, only three bits of the first byte shouldNicholas Marriott
be used. Fix from Koga Osamu.
2014-03-31Remove log_debug2 as well and simplify log.c.Nicholas Marriott
2014-03-31GRID_DEBUG is no longer needed.Nicholas Marriott
2014-03-31Remove unused log functions.Nicholas Marriott
2014-03-31Make message-limit a server option.Nicholas Marriott