aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
Commit message (Collapse)AuthorAge
* Be more sophisticated about enabling synchronized updates when there isnicm2021-08-17
| | | | | | an overlay and treat it like the active pane (use for commands which move the cursor only). When there is an overlay also use it for all panes and not just the active pane. GitHub issue 2826.
* Restore saved cursor position after a ZWJ rather than recalculating it.nicm2021-08-12
|
* Break the colour palette into a struct rather than just a single arraynicm2021-08-11
| | | | | | and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815.
* Add basic support for zero width joiners, GitHub issues 1605 and 2784.nicm2021-08-06
|
* Another minor fix - do not draw positions that are under the popup withnicm2021-08-06
| | | | spaces, from Anindya Mukherjee. Also a typo fix from Linus Arver.
* Improve logging of screen mode changes.nicm2021-06-10
|
* Trim output overwritten by later text or clears completely rather thannicm2021-01-29
| | | | | only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537.
* Flush pending output before entering or exiting alternate screen rathernicm2021-01-27
| | | | than leaking it, oss-fuzz issue 29959.
* Revert clear changes to writing as they don't work properly, betternicm2021-01-22
| | | | change to come.
* There is no need to clear every line entirely before drawing to it, thisnicm2021-01-18
| | | | | means moving the cursor and messes up wrapping. Better to just clear the sections that aren't written over. GitHub issue 2537.
* Do not clear the wrapped flag on linefeeds if it is already set - thisnicm2020-12-07
| | | | does not appear to be what applications want. GitHub issue 2478 and 2414.
* Remove some old debug logging.nicm2020-11-09
|
* Fix show-buffer when run from inside tmux, GitHub issue 2314.nicm2020-07-21
|
* Do not eliminate redundant clears, the code is wrong and doing itnicm2020-07-06
| | | | correctly wouldn't be worth it. GitHub issue 2298.
* The redraw callback could be fired with a NULL pane if it updates whilenicm2020-06-18
| | | | in a mode, problem reported by Martin Vahlensieck.
* Move the code to set up a padding cell into grid.c.nicm2020-06-02
|
* Allow UTF-8 characters of width 0 to be stored, it is useful to be ablenicm2020-06-02
| | | | to put padding cells in as width 0.
* Make padding cell a valid character.nicm2020-05-27
|
* Fix definition of padding cells so they are not extended cells.nicm2020-05-25
|
* Add screen write flags instead of individual bits and fix line lengthnicm2020-05-16
| | | | calculation with padding.
* 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.
* Rename and tidy some stuff in struct tty_ctx.nicm2020-05-16
|
* 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.
* Move the background colour to clear with (if any) up as well as the datanicm2020-04-21
| | | | when scrolling, redraw problem reported by sthen@.
* Always start sync for output in panes that are not the active pane.nicm2020-04-20
|
* 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.
* A resize can realloc so cannot cache the value of the list pointer.nicm2020-04-18
|
* Reset background colour on scrolled line.nicm2020-04-18
|
* There is no point in keeping a bunch of different text buffers for eachnicm2020-04-18
| | | | | line when writing, we only need one as big as the line width - there can't be any more text than that since newer will overwrite older.
* Add formats for pane written/skipped bytes for debugging.nicm2020-04-18
|
* There is no point allocating a new item and putting it on the list whennicm2020-04-17
| | | | | the whole line is cleared line, there is never any point in doing it more than once. Instead store the background colour alone.
* Return to sending sync around clears.nicm2020-04-16
|
* Do not need to set up a tty context for clearing lines now.nicm2020-04-16
|
* Collect up line clears like text within the available data so we don'tnicm2020-04-16
| | | | need to flush everything.
* Log what caused a flush for better visibility on what could be improved.nicm2020-04-16
|
* Only start and stop sync for operations like clear and scroll wherenicm2020-04-16
| | | | there is a better chance more data will be on the way.
* Add support for the iTerm2 sychronized updates escape sequence whichnicm2020-04-16
| | | | drastically reduces flickering.
* Use mode-style for selected items, like choose modes. GitHub issue 2166.nicm2020-04-15
|
* Parse out DA features.nicm2019-11-28
|
* Some minor performance improvements - most notably, don't search thenicm2019-09-24
| | | | input state table if the next character matches the same state as before.
* Couple of bits of minor cleanup.nicm2019-09-24
|
* Add support for the SD (scroll down) escape sequence, GitHub issue 1861.nicm2019-08-05
|
* Use the clear history function for the 3J sequence rather than doing it ↵nicm2019-07-08
| | | | manually.
* 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 support for underscore colours with Setulc capability, mostly fromnicm2019-06-27
| | | | Kai Moschcau.
* Allow menu items to be disabled by putting a - at the start of theirnicm2019-05-28
| | | | | name, rather than just including #[dim] which still allowed them to be chosen.
* Add a function to draw a simple menu onto a screen.nicm2019-05-10
|
* Pass target client and session to load_cfg from source-file so formatsnicm2019-04-18
| | | | work. Reported by Thomas Sattler.
* screen_write_fast_copy can no longer assume the target screen is defaultnicm2019-04-03
| | | | (it isn't for the pane status lines).