summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2020-05-17Print lists as comma-separated itemsAlexandre Ratchov
2020-05-17When -m is used, don't print controls that didn't changeAlexandre Ratchov
2020-05-17When -m is used, always print one line per controlAlexandre Ratchov
2020-05-17Factor code to print numbers, no behavior changeAlexandre Ratchov
2020-05-16list example files in FILES with a short description: generally, "ExampleJason McIntyre
configuration file.", but occasionally something else fit better; at the same time, try to make the format for FILES more consistent; original diff from clematis
2020-05-16Move lazy resize from the pane to the window, there is no point inNicholas Marriott
resizing the window unless it is the current window, and if we do and don't resize the pane until later there are problems if the size changes from A to B then back to A.
2020-05-16On select-window, make this client the latest client for the window.Nicholas Marriott
2020-05-16Add a terminal feature for enable/disable extended keys (supported byNicholas Marriott
xterm and mintty) and add an option to make tmux send it. Only forward extended keys if the application has requested them, even though we use the CSI u sequence and xterm uses CSI 27 ~ - this is what mintty does as well.
2020-05-16Send CSI u sequences for any keys that do not have a defined sequenceNicholas Marriott
already - this should only be similar sequences sent by the terminal outside tmux if enabled.
2020-05-16Separate key flags and modifiers, log key flags, make the "xterm" flagNicholas Marriott
more explicit and fix M- keys with a leading escape.
2020-05-16Rename KEYC_ESCAPE to KEYC_META.Nicholas Marriott
2020-05-16Recognise extended key sequences on input (both the forms xterm offers).Nicholas Marriott
2020-05-16xterm-keys has been on by default for five years and all other modernNicholas Marriott
terminals use these key sequences by default. Merge the code into the main tty and input tree processing (converting the latter to use a tree rather than a table at the same time) and make the option a no-op.
2020-05-16Add an option to set the pane border lines style from a choice of singleNicholas Marriott
lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or number (the pane numbers). Lines that won't work on a non-UTF-8 terminal are translated back into ACS when they are output.
2020-05-16Add screen write flags instead of individual bits and fix line lengthNicholas Marriott
calculation with padding.
2020-05-16Add a client flag 'active-pane' which stores the active pane in theNicholas Marriott
client and allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
2020-05-16Expand target from client and use it to expand the prompt.Nicholas Marriott
2020-05-16Move editor stuff to common code in popup.c.Nicholas Marriott
2020-05-16Add a mark in copy mode. Set with set-mark command (bound to 'X') byNicholas Marriott
default and the mark and cursor position are swapped with 'jump-to-mark' (bound to M-x). The line containing the mark is shown in copy-mode-mark-style with the horizontal position in reverse. From Anindya Mukherjee in GitHub issue 2209.
2020-05-16Add a -D flag to ask tmux not to daemonize, useful both for running aNicholas Marriott
debugger (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
2020-05-16Do not loop forever when search finds an empty match, GitHub issue 2203.Nicholas Marriott
2020-05-16Fix next-matching-bracket logic, from Chris Barber.Nicholas Marriott
2020-05-16Add a customize mode where keys and options may be browsed and changed,Nicholas Marriott
includes adding a brief description of each option. Bound to "C" by default.
2020-05-16Support embedded styles in the display-message message, GitHub issueNicholas Marriott
2206.
2020-05-16Store and restore cursor position when copy mode is resized, fromNicholas Marriott
Anindya Mukherjee.
2020-05-16Allow a custom time format to be given to the t format modifier.Nicholas Marriott
2020-05-16Change message log to be per server rather than per client and includeNicholas Marriott
every command that is run.
2020-05-16Add M-+ and M-- to expand and collapse all items in tree mode.Nicholas Marriott
2020-05-16Change the existing client flags for control mode to apply for anyNicholas Marriott
client, use the same mechanism for the read-only flag and add an ignore-size flag. refresh-client -F has become -f (-F stays for backwards compatibility) and attach-session and switch-client now have -f flags also. A new format "client_flags" lists the flags and is shown by list-clients by default. This separates the read-only flag from "ignore size" behaviour (new ignore-size) flag - both behaviours are useful in different circumstances. attach -r and switchc -r remain and set or toggle both flags together.
2020-05-16Only redraw popup on the client it belongs to.Nicholas Marriott
2020-05-16Export TERM_PROGRAM and TERM_PROGRAM_VERSION like various otherNicholas Marriott
terminals.
2020-05-16Add formats for after hook command arguments.Nicholas Marriott
2020-05-16Try to search the entire history first for up to 200 ms so a searchNicholas Marriott
count can be shown. If it takes too long, search the visible text only.
2020-05-16Do not need to work out status line offset, we already have it.Nicholas Marriott
2020-05-16Use VIS_CSTYLE for paste buffers also.Nicholas Marriott
2020-05-16Do not hoke into struct window_pane from the tty code and instead setNicholas Marriott
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.
2020-05-16Rename and tidy some stuff in struct tty_ctx.Nicholas Marriott
2020-05-16Add -e for new-session to set environment variables.Nicholas Marriott
2020-05-16Add 'e' key in buffer mode to open the buffer in an editor.Nicholas Marriott
2020-05-16Use formats for status-style and message-style.Nicholas Marriott
2020-05-16Complete partial window indexes properly.Nicholas Marriott
2020-05-16Add -W and -T flags to command-prompt to only complete a window and aNicholas Marriott
target, also complete aliases.
2020-05-16Copy mode search improvements:Nicholas Marriott
- 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.
2020-05-16Improve command prompt completion:Nicholas Marriott
- 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.
2020-05-16Drop having a separate type for style options and make them all strings,Nicholas Marriott
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.
2020-05-16Call format_defaults_window for panes as well.Nicholas Marriott
2020-05-16Use a grid cell not a style for the pane style.Nicholas Marriott
2020-05-16Instead of forbidding invalid session names, sanitize them like windowNicholas Marriott
names.
2020-05-16Instead of having a default set of terminals in terminal-overrides thatNicholas Marriott
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.
2020-05-16Do not redraw or update mode if nothing has changed.Nicholas Marriott