Skip to content

EGC how it runs!

Choose a tag to compare

@salt-die salt-die released this 17 May 06:25
· 116 commits to main since this release

Support for extended grapheme clusters (EGCs) added!

We are symbols, and inhabit symbols. - Ralph Waldo Emerson

Additional changes in v0.46.0

  • Cell structure has changed. Looks like:
    Cell = np.dtype(
        [
            ("ord", "uint32"),
            ("style", "u1"),
            ("fg_color", "u1", (3,)),
            ("bg_color", "u1", (3,)),
        ]
    )
    The previous PyUCS4 "char" field is now replaced with uint32 "ord" to facilitate storing EGCs. The boolean SGR fields have been collapsed into the "style" bit field.
  • Additional blitters added to Graphics: "quadrant", "sextant", and "octant"
  • Logging module added. Starting to sprinkle some much needed log.debug into batgrl.
  • Rendering now outputs Synchronized Update Mode (SUM) ANSI if terminal supports this.
  • Minor compositing fixes.

Changes in v0.46.1

  • Fix type of "ord" field of Cell.