summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
AgeCommit message (Collapse)Author
2013-07-05Implement s, S, C mode switch commands in vi(1) mode, from Ben Boeckel.Nicholas Marriott
2013-06-23Focus events can cause trouble if left on and they can't be turned offNicholas Marriott
during idle periods (like the other states are) because we'd miss events. So add a server option to control them. Defaults to off.
2013-06-23Always push a focus event when the application turns it on, prompted byNicholas Marriott
discussion with Hayaki Saito a while ago.
2013-06-23Mark control commands specially so the client can identify them, basedNicholas Marriott
on a diff from George Nachman a while back.
2013-06-02The actual terminfo entries we ended up with for cursor changes are Cs,Nicholas Marriott
Ce, Ss and Se (not Cc, Ce, Cs, Csr). So use and document these instead of the ones we were using earlier.
2013-05-31Instead of eating 1024 bytes or so for the arguments of each command,Nicholas Marriott
save memory by using an RB tree. From Tiago Cunha.
2013-04-24Rename global configuration define.Nicholas Marriott
2013-04-22When using choose-tree -u, start with the current windowNicholas Marriott
highlighted. From Thomas Adam.
2013-03-27Remove tmux's (already minimal) 88 colour support. Such terminals areNicholas Marriott
few and unnecessary.
2013-03-25Add -P and -F to new-session.Nicholas Marriott
2013-03-25Extend jobs to support writing and use that for copy-pipe instead ofNicholas Marriott
popen, from Chris Johnsen.
2013-03-25Only send end guard if begin was sent, from George Nachman.Nicholas Marriott
2013-03-25Add time and a command count to control mode guards, based on code fromNicholas Marriott
George Nachman.
2013-03-25Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott
to use it, extended from a diff from George Nachman.
2013-03-25Add a wait-for command which blocks a client on a named channel until itNicholas Marriott
is woken up again (with wait-for -S). From Thiago Padilha.
2013-03-25Preserve trailing spaces with capture-pane -J, from George Nachman.Nicholas Marriott
2013-03-24Add -A flag to new-session to make it behave like attach-session if theNicholas Marriott
session exists. If -A is used, -D behaves like -d to attach-session.
2013-03-24Add resize-pane -Z to temporary zoom the active pane to occupy the fullNicholas Marriott
window 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.
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
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.
2013-03-24Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott
2013-03-24Fix error reporting for client commands by adding a flag toNicholas Marriott
cmd_find_client to tell it whether or not to show errors, sometimes it's needed and sometimes not.
2013-03-24Do pane resize ioctls once at the end of the server loop rather thanNicholas Marriott
immediately.
2013-03-24Add support for focus notifications when tmux pane changes, based onNicholas Marriott
work by Aaron Jensen.
2013-03-22Add session_set_current helper function, extracted from a diff fromNicholas Marriott
Aaron Jensen.
2013-03-22Add -C and -J to capture pane to escape control sequences and to joinNicholas Marriott
wrapped line, based on a diff from George Nachman.
2013-03-22Need to set clients in context before changing their reference count.Nicholas Marriott
2013-03-22Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott
2013-03-22Add -e flag to capture-pane to include embedded ANSI SGR escapeNicholas Marriott
sequences, from George Nachman.
2013-03-22Add functions to allocate and free command contexts rather than doing itNicholas Marriott
all on the stack.
2013-03-22Fix double space in sessions template.Nicholas Marriott
2013-03-22Add resize-pane -x and -y for absolute pane size (much requested).Nicholas Marriott
2013-03-22Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott
SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
2013-03-21Instead of loads of little screen_write_*_on and off functions whichNicholas Marriott
just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-03-21Include the \033 in the key tree and adjust key matching for this change.Nicholas Marriott
2013-03-21Tidy by splitting default key tables into two.Nicholas Marriott
2013-03-21Fix constness of cmd_template_replace, window_choose_add_item andNicholas Marriott
window_choose_add_window.
2013-03-21Add -v to set and setw to show only option value.Nicholas Marriott
2013-03-21Rework reflow code so it does not do so much allocation which should beNicholas Marriott
faster with large histories.
2013-03-21Allow choose commands to be used outside tmux, so long as at least oneNicholas Marriott
client is attached.
2013-03-21Remove free callback for window_choose_data objects.Nicholas Marriott
2013-03-21Miscellaneous tidying of choose API, including:Nicholas Marriott
- 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 - also add a ref to tree_session - 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
2013-02-05Automatically reflow wrapped lines when a pane is resized, requested byNicholas Marriott
many over the years and finally implemented by Richard Woodbury.
2013-01-18Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott
UTF-8, collapse the two together. Simplifies the code at the expense of more memory (which can probably be reduced again later).
2013-01-17Remove the layout undo/redo code which never really worked.Nicholas Marriott
2013-01-15Implement ECH (erase character, CSI X). Reported by Christian Neukirchen.Nicholas Marriott
2013-01-15If timing between keys is less than (by default) 1 millisecond, assumeNicholas Marriott
the text is being pasted. assume-paste-time option changes the value (0 disables). Based on a diff from Marcin Kulik.
2012-12-24Add missing function prototype.Nicholas Marriott
2012-11-27Fix return value of load_cfg, from Thomas Adam.Nicholas Marriott
2012-11-27Support middle-click paste, based on a diff from Ailin Nemui.Nicholas Marriott
2012-11-27Support the 47 and 1047 SM and RM sequences (alternate screen withoutNicholas Marriott
cursor), requested by I forget who ages ago.