module

TermBuf::QuirkOverrides

Stability: internal

The TERMBUF_QUIRKS escape hatch, over what detection decided a terminal gets wrong.

TERMBUF_QUIRKS=+per_code_point_columns
TERMBUF_QUIRKS=-per_code_point_columns
TERMBUF_QUIRKS=none

Same shape as TERMBUF_CAPS: a bare name or a leading + turns a quirk on, - turns it off, none clears the lot, and an unknown name is reported rather than raised on.

Constants

VARIABLE = "TERMBUF_QUIRKS"

The variable itself, deliberately not application specific.

Instance methods

apply(base : Quirk, env : Hash(String, String)) : Result

Applies VARIABLE from env to base.

Source
apply(base : Quirk, spec : String | Nil) : Result

Applies VARIABLE from env to base.

Source

Nested types