aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* | Add time and a command count to control mode guards, based on code from GeorgeNicholas Marriott2013-03-11
| | | | | | | | Nachman.
* | Rename session idx to session id throughout and add $ prefix to targets to useNicholas Marriott2013-03-07
| | | | | | | | it, extended from a diff from George Nachman.
* | Add a wait-for command which blocks a client on a named channel until it isNicholas Marriott2013-03-06
| | | | | | | | wokrn up again (with wait-for -S). From Thiago Padilha.
* | Preserve trailing spaces with capture-pane -J, from George Nachman.Nicholas Marriott2013-03-04
| |
* | Add -A flag to new-session to make it behave like attach-session if the sessionNicholas Marriott2013-02-24
| | | | | | | | exists. If -A is used, -D behaves like -d to attach-session.
* | Add resize-pane -Z to temporary zoom the active pane to occupy the full windowNicholas Marriott2013-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z by default. The pane is unzoomed on pretty much any excuse whatsoever. We considered making this a new layout but the requirements are quite different from layouts so decided it is better as a special case. Each current layout cell is saved, a temporary one-cell layout generated and all except the active pane set to NULL. Prompted by suggestions and scripts from several. Thanks to Aaron Jensen and Thiago Padilha for testing an earlier version.
* | Add a command queue to standardize and simplify commands that call otherNicholas Marriott2013-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested. Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed. When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty. Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
* | Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott2013-02-23
| |
* | Fix error reporting for client commands by adding a flag to cmd_find_client toNicholas Marriott2013-02-22
| | | | | | | | tell it whether or not to show errors, sometimes it's needed and sometimes not.
* | Missing PANE_RESIZE define.Nicholas Marriott2013-02-22
| |
* | Add support for focus notifications when tmux pane changes, based on work byNicholas Marriott2013-02-22
| | | | | | | | Aaron Jensen.
* | Add session_set_current helper function, extracted from a diff from AaronNicholas Marriott2013-02-21
| | | | | | | | Jensen.
* | Add -C and -J to capture pane to escape control sequences and to join wrappedNicholas Marriott2013-02-21
| | | | | | | | line, based on a diff from George Nachman.
* | Need to set clients in context before changing their reference count.Nicholas Marriott2013-02-20
| |
* | Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott2013-02-19
| |
* | Add -e flag to capture-pane to include embedded ANSI SGR escape sequences, fromNicholas Marriott2013-02-19
| | | | | | | | George Nachman.
* | Add functions to allocate and free command contexts rather than doing it all onNicholas Marriott2013-02-18
| | | | | | | | the stack.
* | Fix double space in sessions template.Nicholas Marriott2013-02-18
| |
* | Add resize-pane -x and -y for absolute pane size.Nicholas Marriott2013-02-18
| |
* | Support the latest theory for mouse input, this is enabled/disabled with SM/RMNicholas Marriott2013-02-18
| | | | | | | | | | 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
* | Instead of loads of little screen_write_*_on and off functions which justNicholas Marriott2013-02-17
| | | | | | | | change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
* | Include the \033 in the key tree and adjust key matching for this change.Nicholas Marriott2013-02-16
| |
* | Tidy by splitting default key tables into two.Nicholas Marriott2013-02-15
| |
* | Fix constness of window_choose_add_item and _window.Nicholas Marriott2013-02-13
| |
* | Fix constness of cmd_template_replace.Nicholas Marriott2013-02-13
| |
* | Add -v to set and setw to show only option value.Nicholas Marriott2013-02-12
| |
* | Rework reflow code so it does not do so much allocation which should be fasterNicholas Marriott2013-02-10
| | | | | | | | with large histories.
* | Allow choose commands to be used outside tmux, so long as at least one clientNicholas Marriott2013-02-10
| | | | | | | | is attached.
* | Remove free callback for window_choose_data objects.Nicholas Marriott2013-02-10
| |
* | Miscellaneous tidying of choose API, including:Nicholas Marriott2013-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename client and session to start_client and start_session in window_choose_data struct. also add TREE_OTHER define and reorder the struct - rename window_choose_ctx to window_choose_data_run - don't pass a cmd_ctx into window_choose_create (will let it use a different client later). instead take type, session, client - add window_choose_data_free and use it to dispose of wcd rather than each cmd-*.c doing it individually - change so ref counting is done by wcd_add and wcd_free rather than callers. this means 1 ref for each item but what of it :-) - also add a ref to tree_session - not sure if this is needed? - all the callbacks except choose-client and find-window are the same so remove them and add window_choose_default_callback - reorder/rename some other bits and pieces for tidyness
* | Merge branch 'obsd-master'Thomas Adam2013-02-07
|\|
| * Automatically reflow wrapped lines when a pane is resized, requested byNicholas Marriott2013-02-05
| | | | | | | | many over the years and finally implemented by Richard Woodbury.
* | Merge branch 'obsd-master'Thomas Adam2013-01-30
|\| | | | | | | | | | | Conflicts: Makefile grid-utf8.c
| * Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott2013-01-18
| | | | | | | | | | UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
* | Merge branch 'obsd-master'Thomas Adam2013-01-17
|\|
| * Remove the layout undo/redo code which never really worked.Nicholas Marriott2013-01-17
| |
| * Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott2013-01-15
| |
| * If timing between keys is less than (by default) 1 millisecond, assumeNicholas Marriott2013-01-15
| | | | | | | | | | the text is being pasted. assume-paste-time option changes the value (0 disables). Based on a diff from Marcin Kulik.
* | Merge branch 'obsd-master'Thomas Adam2012-12-31
|\| | | | | | | Sync from OpenBSD.
| * Add missing function prototype.Nicholas Marriott2012-12-24
| |
* | Merge branch 'obsd-master'Thomas Adam2012-12-08
|\| | | | | | | Sync from OpenBSD.
| * Fix return value of load_cfg, from Thomas Adam.Nicholas Marriott2012-11-27
| |
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.
| * Support middle-click paste, based on a diff from Ailin Nemui.Nicholas Marriott2012-11-27
| |
| * Support the 47 and 1047 SM and RM sequences (alternate screen withoutNicholas Marriott2012-11-27
| | | | | | | | cursor), requested by I forget who ages ago.
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.
| * Correctly aggregate together errors from nested config files (withNicholas Marriott2012-11-27
| | | | | | | | source-file). Fix by Thomas Adam, reported by Sam Livingstone-Gray
* | Merge branch 'obsd-master'Thomas Adam2012-11-22
|\| | | | | | | Sync from OpenBSD.
| * Put helper function back, will be needed in a bit.Nicholas Marriott2012-11-22
| |
* | Merge branch 'obsd-master'Thomas Adam2012-11-22
|\| | | | | | | | | | | | | | | | | Sync from OpenBSD. * obsd-master: Add halfpage commands to mode command string table (missed by accident), from Thomas Adam. Clarify some points about config files, notably that they are only read at server start. From Thomas Adam. Use a utility function for common code to show errors in config file, from Thomas Adam.