aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Do not hoke into struct window_pane from the tty code and instead setnicm2020-05-16
| | | | | | | 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-16
|
* Add -e for new-session to set environment variables.nicm2020-05-16
|
* Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-16
|
* Use formats for status-style and message-style.nicm2020-05-16
|
* Complete partial window indexes properly.nicm2020-05-16
|
* Add -W and -T flags to command-prompt to only complete a window and anicm2020-05-16
| | | | target, also complete aliases.
* Copy mode search improvements:nicm2020-05-16
| | | | | | | | | - 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-16
| | | | | | | | | | | - 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-16
| | | | | | | | | | | | | | | | | 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-16
|
* Use a grid cell not a style for the pane style.nicm2020-05-16
|
* Instead of forbidding invalid session names, sanitize them like windownicm2020-05-16
| | | | names.
* Instead of having a default set of terminals in terminal-overrides thatnicm2020-05-16
| | | | | | | 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-16
|
* Add feature and capabilities for focus reporting. Also document AX andnicm2020-05-16
| | | | XT even though they aren't tmux's, and add some bits for rxvt.
* Move terminal features into a single file.nicm2020-05-16
|
* Build list of paths and weed out duplicates before loading configs, andnicm2020-05-16
| | | | add TMUX_SOCK like TMUX_PATH for the socket directory.
* Add extension terminfo(5) capabilities for margins.nicm2020-05-16
|
* Response is iTerm2 not not ITerm2.nicm2020-05-16
|
* Remove support for iTerm2's DSR 1337 extension and use the CSI > qnicm2020-05-16
| | | | extension now supported by a few different terminals.
* Add an attribute for ACS.nicm2020-05-16
|
* Tweak the default choose modes formats:nicm2020-05-16
| | | | | | - 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-08
|
* Do not remove the automatic-rename option from the global set, only fromnicm2020-04-30
| | | | | 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-27
| | | | | 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-23
|
* Overrides need to be applied both before and after features in case theynicm2020-04-23
| | | | change flags used to detect a feature.
* Fix a couple of memory leaks, one when creating a new pane and one whennicm2020-04-23
| | | | adding formats onto the queue item.
* Fix a couple of memory leaks, one when creating a new pane and one whennicm2020-04-23
| | | | adding formats onto the queue item.
* Improve join-pane, move-pane and break-pane:nicm2020-04-22
| | | | | | | | | | | - 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-22
| | | | and clear it (m and M) and a key to jump to the starting pane (H).
* Improve join-pane, move-pane and break-pane:nicm2020-04-22
| | | | | | | | | | | - 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-22
| | | | 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-22
|
* Update the cursor position when deleting lines from screens withoutnicm2020-04-22
| | | | history, GitHub issue 2173.
* Change so main-pane-width and height can be given as a percentage.nicm2020-04-22
|
* Update the cursor position when deleting lines from screens withoutnicm2020-04-22
| | | | history, GitHub issue 2173.
* Change so main-pane-width and height can be given as a percentage.nicm2020-04-22
|
* Move the background colour to clear with (if any) up as well as the datanicm2020-04-21
| | | | when scrolling, redraw problem reported by sthen@.
* 256 and RGB features can imply AX (for aixterm colours).nicm2020-04-21
|
* Turn off the block flag to reset the state or the cursor will not benicm2020-04-21
| | | | moved back to the right place.
* Do not clear client pane redraw flags until the redraw actually happens.nicm2020-04-21
|
* 256 and RGB features can imply AX (for aixterm colours).nicm2020-04-21
|
* Turn off the block flag to reset the state or the cursor will not benicm2020-04-21
| | | | moved back to the right place.
* Do not clear client pane redraw flags until the redraw actually happens.nicm2020-04-21
|
* xterm* needs XT also.nicm2020-04-21
|
* Always start sync for output in panes that are not the active pane.nicm2020-04-20
|
* Apply terminal-overrides after terminal detection, it always takesnicm2020-04-20
| | | | precedence.
* Change how sync works to always send the end sequence after all outputnicm2020-04-20
| | | | | 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.