summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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
2020-05-16Add feature and capabilities for focus reporting. Also document AX andNicholas Marriott
XT even though they aren't tmux's, and add some bits for rxvt.
2020-05-16Add a feature for bracketed paste.Nicholas Marriott
2020-05-16Add a feature for strikethrough.Nicholas Marriott
2020-05-16Move terminal features into a single file.Nicholas Marriott
2020-05-16Build list of paths and weed out duplicates before loading configs, andNicholas Marriott
add TMUX_SOCK like TMUX_PATH for the socket directory.
2020-05-16Add extension terminfo(5) capabilities for margins.Nicholas Marriott
2020-05-16Response is iTerm2 not not ITerm2.Nicholas Marriott
2020-05-16Remove support for iTerm2's DSR 1337 extension and use the CSI > qNicholas Marriott
extension now supported by a few different terminals.
2020-05-16Add an attribute for ACS.Nicholas Marriott
2020-05-16Tweak the default choose modes formats:Nicholas Marriott
- 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.
2020-05-15sshd listener must not block if reexecd sshd exits early:Markus Friedl
the call to send_rexec_state() in the parent sshd will block forever in write(2) on config_s[0] if the forked child exits early before finishing recv_rexec_state (e.g. with fatal()) because config_s[1] stays open in the parent. this prevents the parent from accepting new connections. ok djm, deraadt
2020-05-15fix off-by-one error that caused sftp downloads to make one moreDamien Miller
concurrent request that desired. This prevented using sftp(1) in unpipelined request/response mode, which is useful when debugging. Patch from Stephen Goetze in bz#3054
2020-05-15pf(4): use CLOCK_BOOTTIME to get time_uptime(9) in userspacecheloha
In pf(4), the pf_status.since timestamp is set with time_uptime(9). This is a low-res snapshot of nanouptime(9). nanouptime(9) is used to implement CLOCK_BOOTTIME for clock_gettime(2). It is not used to implement CLOCK_UPTIME, though. The names are misleading. Switch to CLOCK_BOOTTIME in places in userspace where we use pf_status.since so we are working with the right clock. Technically CLOCK_MONOTONIC is equivalent, but we shouldn't use that here. CLOCK_MONOTONIC is not necessarily the "time since boot": the standard says its absolute value is meaningless. ok patrick@ bluhm@