aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
* Fix top/bottom pane calculation with pane border status enabled,nicm2020-02-14
| | | | reported by Stanislav Spassov.
* Reduce a difference with portable tmux by adding the -V flag andnicm2020-01-28
| | | | #{version} format; on OpenBSD these just report the OpenBSD version.
* The terminal type was never as much use as I expected so remove it innicm2020-01-12
| | | | | 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.
* Pass correct value into iterator callback for time formats.nicm2019-12-26
|
* Add a number of new formats to inspect what sessions and clients anicm2019-12-26
| | | | window is present or active in. From Tyler Culp in GitHub issue 2034.
* Do not crash when a format doesn't exist, reported by Thomas Sattler.nicm2019-11-28
|
* Make a best effort to set xpixel and ypixel for each pane and addnicm2019-11-28
| | | | formats for them.
* Store xpixel/ypixel from TIOCGWINSZ and add formats.nicm2019-11-28
|
* Add p format modifier for padding to width.nicm2019-11-25
|
* Allow multiple substitutions in a single format.nicm2019-11-25
|
* Do not add path if it is NULL, duh.nicm2019-11-15
|
* Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).nicm2019-11-15
|
* Use the existing code in format.c to add foramts for word and line atnicm2019-10-23
| | | | cursor position in copy mode, from Anindya Mukherjee.
* Do not crash with pane_current_command if the pane is newly created andnicm2019-10-14
| | | | has no shell set, from Thomas Adam.
* Mouse formats don't work in copy mode so don't try to use them.nicm2019-09-24
|
* Add window_marked_flag, GitHub issue 1887.nicm2019-09-11
|
* Set up format tree for %if, GitHub issue 1896.nicm2019-09-10
|
* Add a -H flag to send-keys to send literal keys given as hex numbersnicm2019-07-09
| | | | | | (needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in GitHub issues 1832 and 1833.
* Expand arguments to C and s format modifiers (matches m which already expands).nicm2019-06-24
|
* Add a per-pane option set. Pane options inherit from window options (sonicm2019-06-20
| | | | | | | | | | | | there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
* Expand command formats in %if and move the config file loading later (tonicm2019-06-20
| | | | | when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
* Use the right format modifier when comparing, and remove a couple ofnicm2019-06-15
| | | | unused variables.
* Do not crash if the environment variable is present but empty.nicm2019-06-13
|
* Add regular expression support for the format search, match andnicm2019-06-13
| | | | substitute modifiers.
* Fix warnings, from Ben Boeckel.nicm2019-05-31
|
* Change display-menu from taking a single string to a set of arguments,nicm2019-05-28
| | | | which is much easier to work with. Based on a diff from Avi Halachmi.
* Go less crazy with horizontal separators on default menus.nicm2019-05-27
|
* Add keys for new menu items.nicm2019-05-26
|
* Add formats for word and line under the mouse and use them to add somenicm2019-05-26
| | | | items to the pane menu.
* Add a way to append or prepend to a format if the length has been limited.nicm2019-05-26
|
* Add <, >, <=, >= for formats, GitHub issue 1747.nicm2019-05-25
|
* Always include Lock in the menu.nicm2019-05-13
|
* Fix a typo in previous (, -> :).nicm2019-05-10
|
* Add support for simple menus usable with mouse or keyboard. New commandnicm2019-05-10
| | | | | display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.
* Add formats to show if pane is the marked pane and if any marked pane is set.nicm2019-05-09
|
* Allow panes to be empty (no command), output can be piped to them withnicm2019-05-03
| | | | split-window or display-message -I.
* Make options_tostring allocate its result instead of using a stacknicm2019-04-25
| | | | buffer (needed for something in the future).
* Free old strings after they have been expanded in format_choose.nicm2019-03-29
|
* Expand session and window formats for buffer filters.nicm2019-03-28
|
* Add a cursor_character format.nicm2019-03-19
|
* Extend the #[] style syntax and use that together with previous formatnicm2019-03-18
| | | | | | | | | | | | | | | | | | | | changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
* Add format variables for the default formats for the various modesnicm2019-03-18
| | | | | (tree_mode_format and so on) and add a -a flag to display-message to list variables with values.
* With force, kill previous job before starting new. Fixes problemnicm2019-03-18
| | | | reported by Scott Mcdermott in GitHub issue 1627.
* Copy recursion counter into new formats when looping.nicm2019-03-15
|
* Only print format logging when the flag is set, even if also sending to ↵nicm2019-03-15
| | | | log_debug.
* The pane and window loops need to pass the window and pane tags whennicm2019-03-15
| | | | they build their format.
* Add a -v flag to display-message to show verbose messages as the formatnicm2019-03-15
| | | | | | is parsed, this gives the user a way to debug problems with formats rather than just being confronted with (for example) a blank status line.
* Add a limit on how far format_expand can recurse.nicm2019-03-14
|
* Store the time in the format tree rather than passing it around.nicm2019-03-14
|
* Add format flags for start and end window.nicm2019-03-14
|