aboutsummaryrefslogtreecommitdiff
path: root/format-draw.c
Commit message (Collapse)AuthorAge
* Fix handling of leading #s when working out width.nicm2021-08-22
|
* Add an "absolute-centre" alignment to use the centre of the total spacenicm2021-03-11
| | | | instead of only the available space. From Magnus Gross in GitHub issue 2578.
* Make replacement of ##s consistent when drawing formats, whethernicm2020-12-01
| | | | | | followed by [ or not. Add a flag (e) to the q: format modifier to double up #s and use it for the window_flags format variable so it doesn't end up escaping any following text. GitHub issue 2485.
* Change how escaping is processed for formats so that ## and # can benicm2020-11-09
| | | | | used in styles. Also add a 'w' format modifier for the width. From Chas J Owens IV in GitHub issue 2389.
* Add an option to set the pane border lines style from a choice of singlenicm2020-05-16
| | | | | | 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.
* Add a customize mode where keys and options may be browsed and changed,nicm2020-05-16
| | | | | includes adding a brief description of each option. Bound to "C" by default.
* 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.
* Add 'e' key in buffer mode to open the buffer in an editor.nicm2020-05-16
|
* More style nits.nicm2020-04-09
|
* Use correct width of right marker so it doesn't draw over status rightnicm2020-03-07
| | | | when more than one character. Reported by Tyler Culp.
* Do not hang in format_trim_* on invalid UTF-8 characters.nicm2020-01-08
|
* Add push-default and pop-default in styles to change the default coloursnicm2019-09-15
| | | | | | and attributes and use them to restore the previous behaviour of window-status-style being the default for window-status-format in the status line. From John Drouhard in GitHub issue 1912.
* Correctly clear underscore colour in grid_get_cell1, also fix structnicm2019-07-06
| | | | | grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati.
* Add a "fill" style attribute to clear the entire format drawing area innicm2019-07-01
| | | | a colour, GitHub issue 1815.
* Do not loop forever if a menu item contains invisible characters,nicm2019-06-14
| | | | reported by Thomas Sattler.
* Fix drawing of status-right when it is aligned to the centre, GitHubnicm2019-05-23
| | | | issue 1754.
* Do not loop forever if there is a nonprintable character in the format.nicm2019-04-24
|
* Fix offset of list ranges.nicm2019-03-28
|
* Include function name in logging.nicm2019-03-20
|
* Do not leak ranges on error.nicm2019-03-20
|
* Ignore invalid styles rather than throwing away the whole format, thisnicm2019-03-20
| | | | matches what we used to do.
* Bit more logging to show drawing errors.nicm2019-03-20
|
* Free temporary screens when writing format.nicm2019-03-18
|
* 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.