summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused define, also a man fix from jmc.nicm2020-04-101-2/+1
|
* Now that copy mode copies the pane content rather than keeping anicm2020-04-101-3/+4
| | | | | | | | | | reference to it, it isn't necessary that the pane in copy mode is the same as the one copying from. Add a -s flag to copy-mode to specify a different pane for the source content. This means it is possible to view two places in a pane's history at the same time in different panes, or copy from a pane's history into an editor or shell in the same pane. From Anindya Mukherjee.
* Some minor style nits.nicm2020-04-091-2/+1
|
* Wait until the initial command sequence is done before sending a devicenicm2020-04-091-1/+2
| | | | | | | attributes request and other bits that prompt a reply from the terminal. This means that stray relies are not left on the terminal if the command has attached and then immediately detached and tmux will not be around to receive them. Prompted by a problem report from espie@.
* Restore pane_current_path format from portable tmux, it is no longernicm2020-04-081-1/+2
| | | | used by default and is very useful.
* Do not restore history flag if it was never set.nicm2020-04-071-1/+2
|
* Change copy mode to make copy of the pane history so it does not need tonicm2020-04-061-4/+1
| | | | | | freeze updates (which does not play nicely with some applications, a longstanding problem) and will allow some other changes later. From Anindya Mukherjee.
* Support mouse in popups.nicm2020-04-011-1/+3
|
* Add a way to mark environment variables as "hidden" so they can be usednicm2020-03-311-4/+7
| | | | by tmux but are not passed into the environment of new panes.
* Add non-regex search variants to avoid the performance cost for peoplenicm2020-03-311-1/+3
| | | | with large histories or long lines.
* Add a "second click" key type which is fired for the second click of anicm2020-03-311-1/+4
| | | | | | | double click, even if the timer hasn't expired to confirm it isn't actually a triple click. Provides a way for people who don't care about triple clicks or can make their commands have no side effects to avoid the double click timer delay.
* Move alternate screen into the screen rather than the pane.nicm2020-03-311-8/+9
|
* Detach reply escape sequences from the pane so they work in popups.nicm2020-03-311-2/+3
|
* Tweak key numbers to avoid some special keys crossing over with modifier bits.nicm2020-03-301-14/+14
|
* Make two -E only close popup automatically if the command exited with 0.nicm2020-03-281-1/+2
|
* Fix how popup height is calculated to take embedded newlines into account.nicm2020-03-281-1/+2
|
* Add support for overlay popup boxes to show text or output temporarilynicm2020-03-241-3/+19
| | | | | above the normal layout. These work similarly to menus and are created with the display-popup command.
* Break code to convert an argument as a percentage into a common function.nicm2020-03-211-1/+3
|
* Make the mouse_word and mouse_line formats work in copy mode and enablenicm2020-03-201-1/+3
| | | | the default pane menu in copy mode.
* Change input path so it doesn't require a pane.nicm2020-03-191-9/+12
|
* Add a flag to run a background process in a pty as well, not used fornicm2020-03-191-2/+5
| | | | anything yet.
* Ignore default-shell (and use /bin/sh) if it invalid not just if it isnicm2020-03-171-2/+2
| | | | | tmux itself, also refuse to set the option to something invalid in the first place. GitHub issue 2120.
* Send mouse down event immediately rather than waiting for double clicknicm2020-03-161-1/+3
| | | | | to finish which would now mean it was out of order. Reported by Mark Kelly.
* Change how double and triple clicks works so that one or the other isnicm2020-03-121-1/+3
| | | | | fired - a double click is no longer triggered on the way to a triple click.
* When the server socket is given by the user with -S, create it withnicm2020-03-121-2/+4
| | | | | | umask 177 instead of 117 because it may not be in a safe directory like the default directory in /tmp. The user can chmod it more open after it is created if they want.
* Add some number operators for formats, from Tyler Culp.nicm2020-03-111-1/+2
|
* Instead of passing titles through vis() which doubles backslashes, justnicm2020-02-031-2/+2
| | | | ignore any containing control characters or invalid UTF-8. GitHub issue 2070.
* If ALL clients are readonly, allow them to affect the size, suggested by Thomas Sattler.nicm2020-01-281-3/+2
|
* If we can identify the terminal as iTerm2 or as tmux, we can be surenicm2020-01-281-1/+2
| | | | they support 256 and RGB colours, so set those flags too.
* Reduce a difference with portable tmux by adding the -V flag andnicm2020-01-281-1/+2
| | | | #{version} format; on OpenBSD these just report the OpenBSD version.
* Add a define for flags meaning a client is not attached, and fixnicm2020-01-281-1/+5
| | | | unattached counter, reported by Thomas Sattler.
* Add support for adding a note to a key binding (with bind-key -N) andnicm2020-01-271-2/+5
| | | | | | | | | | | | use this to add descriptions to the default key bindings. A new -N flag to list-keys shows key bindings with notes rather than the default bind-key command used to create them. Change the default ? binding to use this to show a readable summary of keys. Also extend command-prompt to return the name of the key pressed and add a default binding (/) to show the note for the next key pressed Suggested by Alex Tremblay in GitHub issue 2000.
* Stop handling DA and DSR after a second (they should be the first thingnicm2020-01-131-1/+2
| | | | sent) so this should be plenty.
* Be more specific in the DSR we are looking for so it doesn't getnicm2020-01-131-1/+3
| | | | | | confused with mouse sequences. Also set a flag and don't bother checking for it if we have already seen it (same for DA), and don't check if we never asked for it.
* Treat plausible but invalid keys (like C-BSpace) as literal like anynicm2020-01-131-3/+3
| | | | | other unrecognised string passed to send-keys. Reported by Anthony Sottile in GitHub issue 2049.
* The terminal type was never as much use as I expected so remove it innicm2020-01-121-22/+5
| | | | | favour of a couple of flags for the features used (DECSLRM and DECFRA). Also rename the flag for no xenl to be more obvious while here.
* Do not let readonly clients limit the size, suggested by Max Barracloughnicm2019-12-301-2/+3
| | | | in GitHub issue 2042.
* Add a number of new formats to inspect what sessions and clients anicm2019-12-261-1/+2
| | | | window is present or active in. From Tyler Culp in GitHub issue 2034.
* When adding a list with multiple commands to the queue, the next item tonicm2019-12-191-3/+3
| | | | | insert after needs to be the last one added, not the first. Reported by Jason Kim in GitHub issue 2023.
* If /dev/fd/X is a symlink and realpath() expands symlinks, /dev/fd/Xnicm2019-12-161-2/+1
| | | | | | | ends up pointing to the wrong place before it is passed to the client. The path is only used internally so there is no real need for realpath(), remove it and move the get_path function to file.c where all the callers are.
* Instead of using large buffers in imsgs, add the data or path onto the end.nicm2019-12-161-10/+4
|
* Change source-file to use new file code which allows it to read fromnicm2019-12-121-1/+5
| | | | stdin.
* Rewrite the code for reading and writing files. Now, if the client isnicm2019-12-121-23/+87
| | | | | | | | | not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file.
* Make TMUX_CONF a list of files and expand leading $FOO or ~.nicm2019-12-101-3/+3
|
* Long lines and spacing fixes.nicm2019-11-281-3/+3
|
* Make a best effort to set xpixel and ypixel for each pane and addnicm2019-11-281-5/+12
| | | | formats for them.
* Store xpixel/ypixel from TIOCGWINSZ and add formats.nicm2019-11-281-2/+4
|
* Add p format modifier for padding to width.nicm2019-11-251-1/+2
|
* Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).nicm2019-11-151-1/+3
|
* Fix parsing of DA with only one argument in the response and add 65 for VT520.nicm2019-11-141-2/+10
|