summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-05-13Add support for named buffers. If you don't name a buffer, things worknicm
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 *.nicm
2014-05-08Send up and down keys for mouse wheel in alternate screen mode (when itnicm
normally does nothing), from Marcel Partap.
2014-05-08Instead of forcing mouse scroll to 1 in choose mode, scale it downnicm
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.nicm
2014-05-08Both the two previous ways of navigating panes by direction havenicm
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.nicm
2014-04-29fcntl.h is still needed here.nicm
2014-04-25specifying ECHOCTL once is enoughjsg
ok nicm@
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersnicm
to be global. Move to paste.c.
2014-04-23Differentiate between linked and unlinked window closes and renames,nicm
like we already do for adds. From Andre Masella.
2014-04-17#nnT went away a while ago, remove a leftover from the manpage.nicm
2014-04-17Add some UTF-8 utility functions and use them to prevent the width limitnicm
on formats from splitting UTF-8 characters improperly.
2014-04-17Some more long lines.nicm
2014-04-17Only scroll by one line at a time in choose mode, lists are generallynicm
pretty small.
2014-04-17Set PATH explicitly, either from client or sessionnicm
environment. Previously it came from the session environment. From J Raynor.
2014-04-17Wrap some long lines.nicm
2014-04-17Don't limit the DCS buffer to 256 bytes, expand it as needed. Requestednicm
by Suraj Kurapati.
2014-04-17Remove some unnecessary includes and fix a typo.nicm
2014-04-17Correct the dance to fix the active pane in join-pane by pulling thenicm
(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 fivenicm
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 unknownnicm
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,nicm
show the equivalent -style option instead.
2014-04-17Remove the monitor-content option and associated bits and bobs. It'snicm
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.nicm
2014-04-16Remove a leftover prototype and fix some spacing.nicm
2014-04-16Remove the choose-list command to prepare for some later choose-* work.nicm
2014-04-16Because we pass the file descriptor from client to server, tmux can'tnicm
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 Balazsnicm
Kezes.
2014-04-11Don't blindly increase offsets by the return value of snprintf, if therenicm
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.nicm
2014-04-03Work out mouse scroll wheel effect when the mouse is first detected andnicm
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.nicm
2014-04-02Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makenicm
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 Filipnicm
Moc.
2014-04-02Do not replace ## with # in status_replace1 because it'll be done laternicm
by the format code.
2014-04-02pane_start_path has gone away.nicm
2014-04-01missed commit matching log.cderaadt
2014-03-31Don't crash with a zero-length argument to setb, from J Raynor.nicm
2014-03-31In four byte UTF-8 sequences, only three bits of the first byte shouldnicm
be used. Fix from Koga Osamu.
2014-03-31Remove log_debug2 as well and simplify log.c.nicm
2014-03-31GRID_DEBUG is no longer needed.nicm
2014-03-31Remove unused log functions.nicm
2014-03-31Make message-limit a server option.nicm
2014-03-31Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam.nicm
2014-03-31Add names for mouse button bits rather than using magic numbers, fromnicm
Marcel Partap.
2014-03-31Use hex constants rather than shifts for mouse events and flags, pointednicm
out by Marcel Partap.
2014-03-31Add setb -a to append and a copy mode append command, from J Raynor withnicm
minor changes.
2014-03-31Make session_attached a count and add session_many_attached flag.nicm
2014-03-31Add start-of-list, end-of-list, top-line and bottom-line in choice mode,nicm
from madmaverick9 at roxxmail dot eu, similar diff a few days later from Marcel Partap.