aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Swap watermarks from high (4096) to low (128) when we get full buffersnicm2016-09-16
| | | | | | | | | into the read callback several times in succession; swap back when we see empty buffers several times. This hopefully limits how much programs that print a lot for a long period can monopolize tmux (like large, fast compiling), without penalizing programs that print a lot briefly (like most curses applications). Helps a lot for me, the actual numbers may need tweaking later.
* Allow repeat count to be specified in mode key tables with bind-key -R,nicm2016-09-12
| | | | | and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
* Add support for performing a full width split (with splitw -f), rathernicm2016-09-04
| | | | than splitting the current cell. From Stephen Kent.
* Remember the number of lines scrolled into the history (versus clearednicm2016-09-02
| | | | | | into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin.
* Fix minimum size when pane status line is enabled, reported by Y Petremann.nicm2016-08-03
|
* Tweak output of environment logging.nicm2016-07-15
|
* Log environment to new panes.nicm2016-07-15
|
* Don't update cells in each block of data read from a pane immediately,nicm2016-07-15
| | | | | | instead track them as change (dirty) and update them once at the end, saves much time if repeatedly writing the same cell. Also fix comparison of cells being equal in a few places (memcmp is not enough).
* Allow a command to be specified to display-panes, similar tonicm2016-06-16
| | | | command-prompt, rather than always just selecting the pane.
* Copy mode needs to keep the original grid intact so it can copy from itnicm2016-06-15
| | | | | | if needed, so it disables reading from the pane. This can be problem with some programs. So make tmux automatically exit all modes after 180 seconds of inactivity and if there is pending output.
* Cache selected state so that cells going from selected to unselected are notnicm2016-06-06
| | | | skipped, reported by Omar Sandoval.
* Insert new panes after the pane being split in the list rather thannicm2016-06-06
| | | | | always after the active pane. This is more sensible when doing it with commands rather than keys.
* Cache the window styles and do not look up the window-style optionsnicm2016-05-30
| | | | unless they have changed.
* Use getprogname() instead of __progname to make portability easier.nicm2016-05-27
|
* - Rework load_cfg() error handling a little.tim2016-05-12
| | | | | | - Add -q to source-file to suppress errors about nonexistent files. Input and OK nicm@
* Use the same code for half page scrolling as full, from Michal Mazurek.nicm2016-05-01
|
* tty_client_ready can not be internal to tty.c again.nicm2016-04-30
|
* Add option to include status text in the pane borders. Ifnicm2016-04-29
| | | | | | | | | pane-border-status is set to "top" or "bottom" (rather than "off"), every pane has a permanent top or bottom border containing the text from pane-border-format. Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and simplified by me.
* The backoff timer is causing no end of trouble with disconnected clientsnicm2016-04-29
| | | | | stopping data in attached ones. So get rid of it and see how we get on with just a high watermark on each pane.
* Make the grid_cell passed into screen_write_* const.nicm2016-04-29
|
* Add next/previous paragraph, from J Raynor.nicm2016-04-27
|
* Instead of reusing MouseUp at the finish of a drag, add a new keynicm2016-03-18
| | | | MouseDragEnd. It can be useful to bind them separately in copy mode.
* Handle wcwidth() and mbtowc() failures in better style and dropnicm2016-03-02
| | | | | characters where we can't find the width (wcwidth() fails) on input, the same as we drop invalid UTF-8. Suggested by schwarze@.
* Use system wcwidth() instead of carrying around UTF-8 width tables.nicm2016-03-01
|
* Whoops, need this for the previous reverse trim commit too.nicm2016-01-31
|
* Support for RGB colour, using the extended cell mechanism to avoidnicm2016-01-29
| | | | | | | | wasting unnecessary space. The 'Tc' flag must be set in the external TERM entry (using terminal-overrides or a custom terminfo entry), if not tmux will map to the closest of the 256 or 16 colour palettes. Mostly from Suraj N Kurapati, based on a diff originally by someone else.
* Split out getting the current state from the target search so it can benicm2016-01-19
| | | | replaced if we already know the current.
* I no longer use my SourceForge address so replace it.nicm2016-01-19
|
* Add hooks for alerts (bell, silence, activity), from Thomas Adam.nicm2016-01-16
|
* A couple of missing printflike attributes, from Andrey Starodubtsev.nicm2016-01-15
|
* send-keys -R should reset the input parser to ground state (so it can benicm2015-12-16
| | | | used to escape from, for example, printf '\033]2;').
* Some hooks API changes to fire a hook while waiting another cmdq andnicm2015-12-15
| | | | infrastructure that will be needed soon.
* Make the marked pane a cmd_find_state.nicm2015-12-15
|
* Use cmd_find_clear_state instead of an extra function doing the same.nicm2015-12-14
|
* Instead of combined flags for -c, -s, -t, split into different setsnicm2015-12-14
| | | | using an enum and simplify the parsing code.
* Use member names in cmd_entry definitions so I stop getting confusednicm2015-12-13
| | | | about the order.
* -c needs to be able for fail for display-message.nicm2015-12-13
|
* Use struct cmd_find_state directly and remove cmd_state_flag, alsonicm2015-12-13
| | | | change so that winlink is set even if an index is too.
* Change cmd_find_target to use a state struct from the caller.nicm2015-12-13
|
* Remove the cmd_find_{session,window,pane,index} functions (which arenicm2015-12-13
| | | | | just wrappers around cmd_find_target) and just use cmd_find_target directly.
* Instead of every command resolving the target (-t or -s) itself, preparenicm2015-12-13
| | | | | | | | | | | | | | | | the state (client, session, winlink, pane) for it it before entering the command. Each command provides some flags that tell the prepare step what it is expecting. This is a requirement for having hooks on commands (for example, if you hook "select-window -t1:2", the hook command should to operate on window 1:2 not whatever it thinks is the current window), and should allow some other target improvements. The old cmd_find_* functions remain for the moment but that layer will be dropped later. Joint work with Thomas Adam.
* Add key-table option to set the default key table for a session, allowsnicm2015-12-12
| | | | different key bindings for different sessions and a few other things.
* Allow prefix and prefix2 to be set to None to disable (useful if younicm2015-12-12
| | | | would rather bind the prefix in the root table).
* Style nits and line wrapping of function declarations.nicm2015-12-11
|
* We cannot do hooks_find and then hooks_remove because it might have comenicm2015-12-11
| | | | | | | from the parent (global) tree, instead make it remove by name like options. While here, also tidy up a few bits of options and hooks handling (use RB_FOREACH_SAFE, and a helper function for the free).
* Add cmdq as an argument to format_create and add a format for thenicm2015-12-11
| | | | command name (will also be used for more later).
* Remove format_create_flags and just pass flags to format_create.nicm2015-12-08
|
* Spacing nits.nicm2015-12-08
|
* Add hooks infrastructure, basic commands (set-hook, show-hooks) and anicm2015-12-08
| | | | | | couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam.
* Fix bell indicators across detach, reported by Torbjorn Lonnemark, diffnicm2015-12-07
| | | | from Thomas Adam.