summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Try to search the entire history first for up to 200 ms so a searchnicm2020-05-162-39/+89
| | | | count can be shown. If it takes too long, search the visible text only.
* Do not need to work out status line offset, we already have it.nicm2020-05-161-10/+5
|
* Use VIS_CSTYLE for paste buffers also.nicm2020-05-162-4/+4
|
* Do not hoke into struct window_pane from the tty code and instead setnicm2020-05-1616-372/+484
| | | | | | | everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
* Rename and tidy some stuff in struct tty_ctx.nicm2020-05-163-87/+84
|
* Add -e for new-session to set environment variables.nicm2020-05-162-7/+19
|
* Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-1611-15/+188
|
* Use formats for status-style and message-style.nicm2020-05-161-12/+18
|
* Complete partial window indexes properly.nicm2020-05-161-17/+30
|
* Add -W and -T flags to command-prompt to only complete a window and anicm2020-05-165-46/+100
| | | | target, also complete aliases.
* Copy mode search improvements:nicm2020-05-165-59/+172
| | | | | | | | | - Add styles for the search marking styles (copy-mode-match-style and copy-mode-current-match-style). - Show the current match (the one with the cursor on it) in a different style. - Copying without a selection will copy the current match if there is one.
* Improve command prompt completion:nicm2020-05-164-181/+374
| | | | | | | | | | | - Show a menu with completions if there are multiple. - Don't complete argument stuff (options, layouts) at start of text. - For -t and -s, if there is no : then complete sessions but if there is a :, show a menu of all windows in the session rather than trying to complete the window name which is a bit useless if there are duplicates.
* Drop having a separate type for style options and make them all strings,nicm2020-05-1618-364/+528
| | | | | | | | | | | | | | | | | which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. To make this work, a few other changes: - set-option -a with a style option automatically appends a ",". - OSC 10 and 11 don't set the window-style option anymore, instead the fg and bg are stored in the pane struct and act as the defaults that can be overridden by window-style. - status-fg and -bg now override status-style instead of trying to keep them in sync.
* Call format_defaults_window for panes as well.nicm2020-05-161-6/+4
|
* Use a grid cell not a style for the pane style.nicm2020-05-167-81/+98
|
* Instead of forbidding invalid session names, sanitize them like windownicm2020-05-164-39/+37
| | | | names.
* Instead of having a default set of terminals in terminal-overrides thatnicm2020-05-165-19/+27
| | | | | | | get XT added and using that as a marker for xterm(1)-like, assume that if the terminfo(5) entry already has XT or the clear capability starts with CSI then the terminal is VT100-like and it should be safe to send DA requests. The DA responses trigger additional features being added.
* Do not redraw or update mode if nothing has changed.nicm2020-05-163-6/+10
|
* Add feature and capabilities for focus reporting. Also document AX andnicm2020-05-166-43/+77
| | | | XT even though they aren't tmux's, and add some bits for rxvt.
* Add a feature for bracketed paste.nicm2020-05-165-16/+34
|
* Add a feature for strikethrough.nicm2020-05-161-5/+17
|
* Move terminal features into a single file.nicm2020-05-166-48/+66
|
* Build list of paths and weed out duplicates before loading configs, andnicm2020-05-164-71/+109
| | | | add TMUX_SOCK like TMUX_PATH for the socket directory.
* Add extension terminfo(5) capabilities for margins.nicm2020-05-166-22/+39
|
* Response is iTerm2 not not ITerm2.nicm2020-05-161-2/+2
|
* Remove support for iTerm2's DSR 1337 extension and use the CSI > qnicm2020-05-165-42/+50
| | | | extension now supported by a few different terminals.
* Add an attribute for ACS.nicm2020-05-163-7/+12
|
* Tweak the default choose modes formats:nicm2020-05-165-46/+112
| | | | | | - Only show pane title if it is not default and not empty. - Add a prettier time format and use that instead of long ctime(). - Remove clutter and change the order.
* imsg.h needs uio.h, pointed out by deraadtnicm2020-05-082-2/+4
|
* Do not remove the automatic-rename option from the global set, only fromnicm2020-04-301-2/+2
| | | | | the window (it must stay in the global set or tmux will crash). GitHub issue 2188.
* Do not close the stdout file descriptor in control mode as it will benicm2020-04-271-3/+4
| | | | | needed for printing the exit messages. Fixes a bug when detaching with iTerm2.
* ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;jmc2020-04-231-4/+4
|
* Overrides need to be applied both before and after features in case theynicm2020-04-231-2/+5
| | | | change flags used to detect a feature.
* Fix a couple of memory leaks, one when creating a new pane and one whennicm2020-04-232-4/+11
| | | | adding formats onto the queue item.
* Improve join-pane, move-pane and break-pane:nicm2020-04-224-39/+48
| | | | | | | | | | | - There is no need for join-pane and move-pane to be different. - break-pane can just behave like move-window if the source has only one pane, instead of failing. - Add -a to break-pane like move-window. Also add missing man page bits for previous window-tree.c changes. GitHub issue 2176.
* Indicate the marked pane in choose mode in reverse and add key to setnicm2020-04-223-12/+57
| | | | and clear it (m and M) and a key to jump to the starting pane (H).
* Add a session_marked format like window_marked.nicm2020-04-222-2/+8
|
* Update the cursor position when deleting lines from screens withoutnicm2020-04-221-4/+5
| | | | history, GitHub issue 2173.
* Change so main-pane-width and height can be given as a percentage.nicm2020-04-225-42/+72
|
* Move the background colour to clear with (if any) up as well as the datanicm2020-04-212-5/+6
| | | | when scrolling, redraw problem reported by sthen@.
* 256 and RGB features can imply AX (for aixterm colours).nicm2020-04-211-1/+3
|
* Turn off the block flag to reset the state or the cursor will not benicm2020-04-211-16/+16
| | | | moved back to the right place.
* Do not clear client pane redraw flags until the redraw actually happens.nicm2020-04-212-3/+4
|
* xterm* needs XT also.nicm2020-04-211-2/+2
|
* Always start sync for output in panes that are not the active pane.nicm2020-04-201-2/+4
|
* Apply terminal-overrides after terminal detection, it always takesnicm2020-04-204-23/+39
| | | | precedence.
* Change how sync works to always send the end sequence after all outputnicm2020-04-207-32/+36
| | | | | is done when we are returning to the event loop (since we always move the cursor at that point). Also a man fix from jmc.
* Change the Sync capability to be a string instead of a flag.nicm2020-04-204-10/+9
|
* Tidy up the terminal detection and feature code and add named sets ofnicm2020-04-2014-237/+554
| | | | | | | | | | | | | | | | | | | | | terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. This is intended to make it easier to configure tmux's use of terminfo(5) even in the presence of outdated ncurses(3) or terminfo(5) databases or for features which do not yet have a terminfo(5) entry. Instead of having to grok terminfo(5) capability names and what they should be set to in the terminal-overrides option, the user can hopefully just give tmux a feature name and let it do the right thing. The terminal-overrides option remains both for backwards compatibility and to allow tweaks of individual capabilities. tmux already did much of this already, this makes it tidier and simpler to configure.
* Also redraw panes which aren't pane 0. Problem reported by tb@.nicm2020-04-201-1/+2
|