BoxDrawingSupport
How much of Spectre’s box-drawing repertoire the current output sink can carry. This is the verdict Spectre console creation acts on; expose it in a diagnostics command via CurrentBoxDrawingSupport instead of re-probing by hand. Values are explicit and append-only: new tiers get new numbers so already-compiled consumers keep their meaning.
- Kind:
Enum - Namespace: Repl.Spectre
- Assembly:
Repl.Spectre - Source: src/Repl.Spectre/BoxDrawingSupport.cs
Signature
Section titled “Signature”public enum BoxDrawingSupportFields
Section titled “Fields”No box glyph survives the sink (ASCII transport, or a redirected local console whose reader decodes another charset); box drawing is transliterated to ASCII.
Ascii = 2Returns
Section titled “Returns”Rounded
Section titled “Rounded”The sink roundtrips rounded glyphs; full Unicode borders render intact.
Rounded = 0Returns
Section titled “Returns”Square
Section titled “Square”Only the square safe-border glyphs survive — a real console on a legacy OEM codepage, which carries ┌ but not ╭. Spectre’s own non-Unicode fallback covers this.
Square = 1