summaryrefslogtreecommitdiffstats
path: root/format.c
AgeCommit message (Collapse)Author
2019-09-25Mouse formats don't work in copy mode so don't try to use them.nicm
2019-07-09Merge branch 'obsd-master'Thomas Adam
2019-07-09Add a -H flag to send-keys to send literal keys given as hex numbersnicm
(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.
2019-06-24Merge branch 'obsd-master'Thomas Adam
2019-06-24Expand arguments to C and s format modifiers (matches m which already expands).nicm
2019-06-20Merge branch 'obsd-master'Thomas Adam
2019-06-20Add a per-pane option set. Pane options inherit from window options (sonicm
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.
2019-06-20Merge branch 'obsd-master'Thomas Adam
2019-06-20Expand command formats in %if and move the config file loading later (tonicm
when the first client has identified) so all the client formats are available, fixes problems reported by Thomas Sattler.
2019-06-15Merge branch 'obsd-master'Thomas Adam
2019-06-15Use the right format modifier when comparing, and remove a couple ofnicm
unused variables.
2019-06-14Merge branch 'obsd-master'Thomas Adam
2019-06-13Do not crash if the environment variable is present but empty.nicm
2019-06-13Add regular expression support for the format search, match andnicm
substitute modifiers.
2019-06-01Merge branch 'obsd-master'Thomas Adam
2019-05-31Fix warnings, from Ben Boeckel.nicm
2019-05-28Merge branch 'obsd-master'Thomas Adam
2019-05-28Change display-menu from taking a single string to a set of arguments,nicm
which is much easier to work with. Based on a diff from Avi Halachmi.
2019-05-27Merge branch 'obsd-master'Thomas Adam
2019-05-27Go less crazy with horizontal separators on default menus.nicm
2019-05-26Merge branch 'obsd-master'Thomas Adam
2019-05-26Add keys for new menu items.nicm
2019-05-26Add formats for word and line under the mouse and use them to add somenicm
items to the pane menu.
2019-05-26Merge branch 'obsd-master'Thomas Adam
2019-05-26Add a way to append or prepend to a format if the length has been limited.nicm
2019-05-25Merge branch 'obsd-master'Thomas Adam
2019-05-25Add <, >, <=, >= for formats, GitHub issue 1747.nicm
2019-05-13Merge branch 'obsd-master'Thomas Adam
2019-05-13Always include Lock in the menu.nicm
2019-05-10Merge branch 'obsd-master'Thomas Adam
2019-05-10Fix a typo in previous (, -> :).nicm
2019-05-10Add support for simple menus usable with mouse or keyboard. New commandnicm
display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.
2019-05-09Merge branch 'obsd-master'Thomas Adam
2019-05-09Add formats to show if pane is the marked pane and if any marked pane is set.nicm
2019-05-03Merge branch 'obsd-master'Thomas Adam
2019-05-03Allow panes to be empty (no command), output can be piped to them withnicm
split-window or display-message -I.
2019-04-25Merge branch 'obsd-master'Thomas Adam
2019-04-25Make options_tostring allocate its result instead of using a stacknicm
buffer (needed for something in the future).
2019-03-29Merge branch 'obsd-master'Thomas Adam
2019-03-29Free old strings after they have been expanded in format_choose.nicm
2019-03-28Merge branch 'obsd-master'Thomas Adam
2019-03-28Expand session and window formats for buffer filters.nicm
2019-03-19Merge branch 'obsd-master'Thomas Adam
2019-03-19Add a cursor_character format.nicm
2019-03-18Merge branch 'obsd-master'Thomas Adam
2019-03-18Extend the #[] style syntax and use that together with previous formatnicm
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.
2019-03-18Merge branch 'obsd-master'Thomas Adam
2019-03-18Merge branch 'obsd-master'Thomas Adam
2019-03-18Add format variables for the default formats for the various modesnicm
(tree_mode_format and so on) and add a -a flag to display-message to list variables with values.
2019-03-18With force, kill previous job before starting new. Fixes problemnicm
reported by Scott Mcdermott in GitHub issue 1627.