Interface: BBSArtOptions
core/bbs.BBSArtOptions
Options for artwork rendering via bbs.art()
Table of contents
Properties
Properties
center
• Optional center: "auto" | "horizontal" | "vertical" | "both" | "none"
Centering mode for artwork positioning
Defined in
clearScreen
• Optional clearScreen: boolean
Clear screen before rendering
Defined in
data
• Optional data: Record<string, any>
Data for MCI code interpolation (accessible as @KEY@ in artwork)
Defined in
display
• Optional display: "line" | "character" | "instant"
Display mode: ‘line’ (line-by-line), ‘character’ (char-by-char), ‘instant’ (all at once)
Defined in
encoding
• Optional encoding: "cp437" | "utf8"
Override session encoding for this artwork (default: use session preference)
Defined in
pauseAfter
• Optional pauseAfter: string | boolean
Pause after rendering (true for default pause, string for custom prompt)
Defined in
speed
• Optional speed: number
Speed in milliseconds (for line/character modes)
Defined in
x
• Optional x: number
Explicit X position (1-indexed)
Defined in
y
• Optional y: number
Explicit Y position (1-indexed)