Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] Fixes to allow using terminfo for colors on st


These are to address some rough edges I found while testing Ori's
patch to use colors via terminfo entries. This mostly stems from
handling complex entries like:

        setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m

The fourth patch here is a modified form of the patch from Ori I
tested, augmented with some irritating logic to handle termdraw.Default
specially.

S. Gilles (4):
  Allow litint with nontrivial start
  Reorder binary operations
  Allow multi-arm conditionals
  Use Set_a_foreground and Set_a_background for colors

 term.myr       | 46 +++++++++++++++++++++++++++++---------
 test/tifmt.myr | 35 ++++++++++++++++++++++++++---
 tifmt.myr      | 70 ++++++++++++++++++++++++++++++++++++++++------------------
 3 files changed, 116 insertions(+), 35 deletions(-)

-- 
2.14.3


Follow-Ups:
[PATCH 1/4] Allow litint with nontrivial start"S. Gilles" <sgilles@xxxxxxxxxxxx>
[PATCH 2/4] Reorder binary operations"S. Gilles" <sgilles@xxxxxxxxxxxx>
[PATCH 3/4] Allow multi-arm conditionals"S. Gilles" <sgilles@xxxxxxxxxxxx>
[PATCH 4/4] Use Set_a_foreground and Set_a_background for colors"S. Gilles" <sgilles@xxxxxxxxxxxx>
Re: [PATCH 0/4] Fixes to allow using terminfo for colors on stOri Bernstein <ori@xxxxxxxxxxxxxx>