aboutsummaryrefslogtreecommitdiff
path: root/vt.c (follow)
Commit message (Expand)AuthorAgeLines
* vt: free OSC buffer after dispatch, if larger than 4KDaniel Eklöf2022-03-21-3/+12
* fcft: adapt to API changes in fcft-3.xDaniel Eklöf2022-02-05-13/+14
* config: add tweak.grapheme-width-method=maxDaniel Eklöf2021-11-23-0/+4
* osc: use BEL terminator in OSC replies to BEL-terminated OSC queriesCraig Barnes2021-10-20-0/+1
* vt: add some unit tests for action_collect()Craig Barnes2021-07-02-0/+23
* config: rename at-most-2 (value for grapheme-width-method) to double-widthDaniel Eklöf2021-07-01-1/+1
* config: add tweak.grapheme-width-method=wcswidth|at-most-2Daniel Eklöf2021-07-01-5/+14
* vt: limit grapheme width to 2 cellsDaniel Eklöf2021-07-01-5/+3
* vt: don’t reset utf8proc grapheme state when we’re not at a grapheme breakDaniel Eklöf2021-06-25-5/+8
* vt: utf8: rotate instead of just shifting when updating compose keyDaniel Eklöf2021-06-24-4/+7
* vt: improved key hash algorithm -> reduces number of key collisionsDaniel Eklöf2021-06-24-3/+10
* composed: insert: require key to be uniqueDaniel Eklöf2021-06-24-3/+5
* vt: codespell: bumb -> bumpDaniel Eklöf2021-06-24-1/+1
* composed: store compose chains in a binary search treeDaniel Eklöf2021-06-24-38/+52
* vt: utf8: don’t scan *all* previous chainsDaniel Eklöf2021-06-24-1/+3
* vt: utf8: de-duplicate; jump to end of function to print to gridDaniel Eklöf2021-06-24-26/+25
* vt: utf8-print: don’t build a compose chain on a zero-width base characterDaniel Eklöf2021-06-24-87/+89
* vt: utf8-print: check base character before count when looking for existing compose chainDaniel Eklöf2021-06-24-2/+2
* vt: don’t call wcwidth() on all combining characters every time we addDaniel Eklöf2021-06-24-11/+7
* vt: presentation selectors may be anywhere in the clusterDaniel Eklöf2021-06-24-8/+10
* vt: don’t force cols=2 when we see an emoji variant selectorDaniel Eklöf2021-06-24-1/+3
* vt: cache grapheme cluster width in composed structDaniel Eklöf2021-06-24-4/+10
* wip: grapheme shapingDaniel Eklöf2021-06-24-108/+128
* Merge branch 'charset-shift-fixes'Craig Barnes2021-06-09-8/+18
|\
| * terminal: add 'charset_designator' enum to make code more self-documentingCraig Barnes2021-06-09-8/+8
| * vt: fix SS2/SS3 escape sequences to act correctly as single shiftsCraig Barnes2021-06-08-4/+2
| * vt: add support for LS2 and LS3 locking shiftsCraig Barnes2021-06-08-0/+12
* | vt: TAB: don’t print a ‘\t’ to the grid if the *current* cell isn’t emptyDaniel Eklöf2021-06-08-3/+4
* | vt: emit a tab character if all cells between cursor and tab stop are emptyDaniel Eklöf2021-06-08-3/+40
|/
* vt: fix buggy chains of ternary expressions in action_esc_dispatch()Craig Barnes2021-06-08-18/+9
* vt: \E#8: print ‘E’ using the default attributesDaniel Eklöf2021-06-07-1/+1
* vt: remove action_utf8_print(term, 0) calls from UTF-8 state handlersCraig Barnes2021-05-25-6/+6
* vt: remove partial support for 8-bit C1 control charsCraig Barnes2021-05-25-20/+6
* Merge branch 'reflow-performance'Daniel Eklöf2021-05-16-1/+1
|\
| * term: rename CELL_MULT_COL_SPACER -> CELL_SPACER, and change its definitionDaniel Eklöf2021-05-14-1/+1
* | Update `term->vt.state` for each iteration of vt_from_slave() loopCraig Barnes2021-05-15-3/+2
|/
* vt: make anywhere() function return `term->vt.state` by defaultCraig Barnes2021-05-13-14/+14
* vt: clean up handling of "anywhere" actionsCraig Barnes2021-05-13-201/+44
* term/vt: only do reverse-wrapping (‘bw’) on cub1Daniel Eklöf2021-04-08-2/+15
* term: runtime switch between a ‘fast’ and a ‘generic’ ASCII print functionDaniel Eklöf2021-03-16-16/+7
* vt: remove xassert(), that cannot be optimized out, from action_print()Daniel Eklöf2021-02-07-2/+0
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-11/+11
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-1/+1
* Merge branch 'decset-1047-and-1048'Daniel Eklöf2021-01-16-5/+1
|\
| * term/vt/csi: break out cursor save/restore to dedicated functionsDaniel Eklöf2021-01-15-5/+1
* | vt: document correct BS behavior, and why we do differentlyDaniel Eklöf2021-01-15-0/+12
|/
* Use wrappers from macros.h instead of bare GCC attributes/pragmasCraig Barnes2021-01-03-7/+2
* vt: codespell: ony -> onlyDaniel Eklöf2020-12-16-1/+1
* vt: don’t ignore extra private/intermediate charactersDaniel Eklöf2020-12-16-13/+27
* bell: optionally render margins in red when receiving BELDaniel Eklöf2020-10-08-2/+1
* vt: BS: *only* reset lcf if cursor is beyond right margin: don’t move cursorDaniel Eklöf2020-10-02-1/+4
* vt: hide pedantic warnings around the VT state machine's switch casesDaniel Eklöf2020-08-23-0/+9
* Fix spelling mistake in vt.cCraig Barnes2020-08-16-1/+1
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-1/+2
* vt: never call term_print() with a width <= 0Daniel Eklöf2020-07-16-1/+2
* vt: ignore 0x7f (DEL) in ground stateDaniel Eklöf2020-07-16-1/+4
* vt: utf8: handle multi-column spacer values correctly when combiningDaniel Eklöf2020-07-16-6/+3
* term: rename COMB_CHARS_LO,HI -> CELL_COMB_CHARS_LO,HIDaniel Eklöf2020-07-14-6/+6
* vt: change HT (horizontal tab) to *not* clear LCFDaniel Eklöf2020-07-14-0/+6
* term: rename term_formfeed() -> term_carriage_return()Daniel Eklöf2020-07-14-2/+3
* vt: implement C0::FF - processed in the same way as C0::LFDaniel Eklöf2020-07-14-0/+2
* vt: process C0::VT the same way we process C0::LFDaniel Eklöf2020-07-14-6/+3
* vt: sort C0's in the switch statement, and use escaped character possibleDaniel Eklöf2020-07-14-16/+16
* unicode combining: don't log overflow errors unless LOG_ENABLE_DBG == 1Daniel Eklöf2020-06-09-1/+2
* vt: utf8-print: check width == 0 first, when deciding whether to do combiningDaniel Eklöf2020-06-09-1/+1
* vt: initial version of UTF-8 decoding built-in into the VT parserDaniel Eklöf2020-06-07-33/+133
* vt: utf8: use mbtowc() instead of mbrtowc()Daniel Eklöf2020-05-31-8/+2
* vt: utf8: don't need one entry action for each UTF8 variantDaniel Eklöf2020-05-31-20/+6
* unicode-combine: simplify - remove -Dunicode-precompose optionDaniel Eklöf2020-05-10-2/+0
* unicode-precompose: use fcft's precompose functionalityDaniel Eklöf2020-05-09-36/+25
* unicode-combining: limit maximum number of allowed composed chainsDaniel Eklöf2020-05-03-5/+12
* unicode-combining: detect when we've reached the chain limitDaniel Eklöf2020-05-03-0/+14
* unicode-combining: store seen combining chains "globally" in the term structDaniel Eklöf2020-05-03-16/+43
* vt: use signed integers to correctly detect when we're doneDaniel Eklöf2020-05-02-2/+2
* meson: don't generate pre-compose table when -Dunicode-precompose=falseDaniel Eklöf2020-05-02-0/+2
* unicode-combine: remove utf8proc dependencyDaniel Eklöf2020-05-02-17/+40
* unicode-combining: don't limit ourselves to the (western) diacritics blocksDaniel Eklöf2020-05-02-13/+19
* unicode-combine: only compose if we don't have any other combining charactersDaniel Eklöf2020-05-01-16/+24
* vt: utf8: track combining characters that we failed to composeDaniel Eklöf2020-05-01-15/+37
* util.h: new header file defining commonly used macrosDaniel Eklöf2020-05-01-3/+1
* vt: lazily reset utf8 in action_utf8_*_entryDaniel Eklöf2020-04-27-4/+3
* vt: action_utf8_print: idx is cleared in action_clear()Daniel Eklöf2020-04-27-3/+0
* vt: utf8-*-entry: idx is cleared in action_clear()Daniel Eklöf2020-04-27-3/+3
* term: remove unneeded utf8.left memberDaniel Eklöf2020-04-27-15/+0
* utf8: add support for unicode combining charactersDaniel Eklöf2020-04-27-2/+54
* grid: move 'cursor' state from terminal to gridDaniel Eklöf2020-04-16-8/+8
* mbstate: fix compile warning on systems where mbstate_t isn't an integralDaniel Eklöf2020-04-13-1/+1
* alt-screen: use a custom 'saved' cursor when switching to alt screenDaniel Eklöf2020-03-16-1/+1
* vt: tag cells that were form-feed:ed, to allow correct text reflowDaniel Eklöf2020-02-10-2/+2
* vt: ensure we never step outside our parameter and sub-parameter arraysDaniel Eklöf2020-02-01-6/+70
* vt: collect (intermediate): log a warning if user supplied more than two intermediatesDaniel Eklöf2020-02-01-1/+1
* vt: collect (intermediate): log _which_ character we collectedDaniel Eklöf2020-02-01-1/+1
* vt: bug: state machine: csi entry: handle 0x3a/0x3b correctlyDaniel Eklöf2020-01-25-1/+1
* vt: bug: fix check for error from mbrtowc()Daniel Eklöf2020-01-23-1/+4
* term: factor out character printing to new function term_print()Daniel Eklöf2020-01-20-90/+4
* dcs: initial handling of DCS in generalDaniel Eklöf2020-01-12-0/+4
* Revert "vt: refactor"Daniel Eklöf2019-12-20-208/+201
* vt: refactorDaniel Eklöf2019-12-20-201/+208
* vt: visually compact the switch tablesDaniel Eklöf2019-12-20-271/+271
* vt: remove enum action; add separate functions for each action insteadDaniel Eklöf2019-12-20-524/+491