aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Setting the cmdlist pointer in the bind-key to NULL to prevent it being freedNicholas Marriott2010-06-26
| | | | | | | | | | | | | | | | | | | | | | after the command is executing is bogus because it may still be needed if the same command is going to be executed again (for example if you "bind-key a bind-key b ..."). Making a copy is hard, so instead add a reference count to the cmd_list. While here, also print bind-key -n and the rest of the flags properly. Fixes problem reported by mcbride@.
| * Add a choose-buffer command for easier use of the paste buffer stack.Nicholas Marriott2010-06-21
| |
| * Extend the -t:+ and -t:- window targets for next and previous window toNicholas Marriott2010-06-21
| | | | | | | | accept an offset such as -t:+2. From Tiago Cunha.
| * Having a list of winlinks->alerts for each session is stupid, just storeNicholas Marriott2010-06-21
| | | | | | | | the alert flags directly in the winlink itself.
| * Rename activity->alert in a couple of functions for consistency.Nicholas Marriott2010-06-21
| |
| * Give tmux sockets (but not the containing folder) groupNicholas Marriott2010-06-21
| | | | | | | | | | permissions. This allows hardlinks to the sockets to be used more easily.
| * Ensure we overwrite UTF-8 wide characters properly, and never overwriteNicholas Marriott2010-06-21
| | | | | | | | | | characters we weren't overlapping. Fixes "disappearing wide characters" glitch. From Micah Cowan.
| * Last change erroneously used the target argument for looking up theNicholas Marriott2010-06-14
| | | | | | | | | | | | | | client which caused pipe-pane to fail when used from the command line. Instead pass NULL which should use the current client. Spotted by Tiago Cunha.
| * Add a missing command and some missing Ic, from Tiago Cunha.Nicholas Marriott2010-06-14
| |
| * Use a macro-based mask for obtaining a key or modifier-set from theNicholas Marriott2010-06-06
| | | | | | | | combination. Display C-@, etc, as C-Space, in list-keys. By Micah Cowan.
| * Couple of missing command aliases/flags, from Tiago Cunha.Nicholas Marriott2010-06-05
| |
| * Fix problems with window sizing seen by Raghavendra D Prabhu whenNicholas Marriott2010-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | starting tmux from .xinitrc. One of the very few things the server relies on the client for now is to pass through a message on SIGWINCH, but there is a condition where potentially a SIGWINCH may be lost during the transition from unattached (main.c) to attached (client.c). So trigger a size change immediately after the client installs its SIGWINCH handler. Also, when the terminal is resized, reset the scroll region and cursor position. Previously, we were clearing our saved idea of these, but in fact some terminals do not reset them on resize, so this caused problems during redraw. While here make a resize to the same size not cause a redraw and rename the tmux.out output log file to include the tmux PID.
| * Support the status_replace # replacement sequences in the pipe-paneNicholas Marriott2010-06-05
| | | | | | | | command, thanks to Andrea Barisani.
| * Shut up gcc4 warnings.Nicholas Marriott2010-06-05
| |
| * This ioctl(TIOCGWINSZ) call is no longer necessary, the result is neverNicholas Marriott2010-06-05
| | | | | | | | used and the server now does it later on the tty fd directly.
| * Fix binding of C-Space/C-@, from Micah Cowan.Nicholas Marriott2010-06-05
| |
| * Make start-of-line work the same as end-of-line on wrapped lines (jumpNicholas Marriott2010-06-05
| | | | | | | | to real start if at edge of screen). By Micah Cowan.
| * When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott2010-05-31
| | | | | | | | | | | | | | | | in copy mode. Also support the scroll wheel, although xterm strangely does not ignore it in application mouse mode, causing redraw artifacts when scrolling up (other terminals appear to be better behaved).
| * Better to say "command key bindings" since we've just called themNicholas Marriott2010-05-30
| | | | | | | | command keys.
| * There is no real reason not to list all the key bindings here ratherNicholas Marriott2010-05-30
| | | | | | | | than just a selection.
| * Move imsg into libutil and add a man page.Nicholas Marriott2010-05-26
| | | | | | | | | | | | | | | | Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
| * Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott2010-05-26
| | | | | | | | | | | | ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt
| * Don't die if the client has been detached when the job finishes, justNicholas Marriott2010-05-25
| | | | | | | | don't display the output.
| * Fix an out-of-date comment.Nicholas Marriott2010-05-25
| |
| * Pass in the session, rather than the client, to window modes' key()Nicholas Marriott2010-05-23
| | | | | | | | | | | | | | | | | | function. We were only ever using the client to find the session anyway. This allows send-key to work properly for manipulating copy mode from outside tmux. From Micah Cowan.
| * Enhance paste-buffer to allow lines to be separated by any string, fromNicholas Marriott2010-05-19
| | | | | | | | Andrea Barisani.
| * Colour+attribute options for status line alerts, from Alex Alexander.Nicholas Marriott2010-05-14
| |
| * Accept (and document) "none" instead of "default" for attributes as itNicholas Marriott2010-05-14
| | | | | | | | is clearer and avoids confusion with default colours.
| * Use $OpenBSD$.Nicholas Marriott2010-05-14
| |
| * Catch SIGHUP and terminate if running as a client. This prevents clientsJoel Sing2010-05-12
| | | | | | | | | | | | | | from being left hanging around when, for example, a SSH session is disconnected. ok nicm@
| * Identical behaviour to select-prompt can now be obtained withNicholas Marriott2010-05-05
| | | | | | | | | | command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%".
| * Put this back in with the initialisation in the right order.Nicholas Marriott2010-05-04
| |
| * Revert last change, it appears to be broken somehow.Nicholas Marriott2010-05-04
| |
| * Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott2010-05-03
| | | | | | | | | | and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.
| * Make C-] and other punctuation-based control key combinations work again.Ryan McBride2010-05-03
| | | | | | | | ok nicm
| * sort options.Igor Sobrado2010-05-02
| |
| * Make the active pane border have a green foreground instead ofNicholas Marriott2010-04-28
| | | | | | | | background by default.
| * Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott2010-04-28
| | | | | | | | Reported by Romain Francois, fixed by Micah Cowan.
| * imsg.h does not need sys/tree.h.Nicholas Marriott2010-04-27
| | | | | | | | ok eric
| * Add a tiled layout, originally from Liam Bedford a while ago, fixed upNicholas Marriott2010-04-25
| | | | | | | | by me.
| * When converting A-Z into a control character, want to subtract 64 notNicholas Marriott2010-04-23
| | | | | | | | 65... whoops.
| * Mark zombie windows as dead in choose-window list, from Romain Francoise.Nicholas Marriott2010-04-21
| |
| * Rewrite key string conversions to be readable and to work properly forNicholas Marriott2010-04-21
| | | | | | | | multiple modifiers.
| * Catch SIGCHLD to avoid a zombie, from patrick keshishian.Nicholas Marriott2010-04-18
| |
| * Fix typo in escape state table leading to fatal() when \033} or \033~Nicholas Marriott2010-04-17
| | | | | | | | was entered, from Chris Johnsen.
| * If remain-on-exit is set, both the error callback and a SIGCHLD couldNicholas Marriott2010-04-17
| | | | | | | | | | | | destroy the same pane (because the first one doesn't remove it from the list of panes), causing the pane bufferevent to be freed twice. So don't free it if the fd has already been set to -1, from Romain Francoise.
| * Fix use-after-free of the window link when it is part of a groupedNicholas Marriott2010-04-17
| | | | | | | | session (and hence could have been recreated), from Micah Cowan.
| * Remove XXX comment and just close received fd if calloc() fails.Nicholas Marriott2010-04-07
| | | | | | | | | | | | | | | | | | If this happens the imsg may no longer be usable as there may be queued messages, but this is a) already the case with the code now, and b) would be the case if recvmsg() fails anyway, so we can document that -1 from imsg_read() invalidates the struct imsgbuf. discussed with and ok eric
| * Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott2010-04-06
| | | | | | | | Micah Cowan.
| * Mention title setting, and the new default.Nicholas Marriott2010-04-05
| |