Documentation
¶
Overview ¶
Package styles provides no-op style definitions for Wasm builds. All styles return text unchanged (no ANSI codes).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ColorError = WasmColor{} ColorWarning = WasmColor{} ColorSuccess = WasmColor{} ColorInfo = WasmColor{} ColorPurple = WasmColor{} ColorYellow = WasmColor{} ColorComment = WasmColor{} ColorForeground = WasmColor{} ColorBackground = WasmColor{} ColorBorder = WasmColor{} ColorTableAltRow = WasmColor{} )
Adaptive color variables (no-op in Wasm)
View Source
var ( RoundedBorder = WasmBorder{} NormalBorder = WasmBorder{} ThickBorder = WasmBorder{} )
Border definitions (no-op in Wasm)
View Source
var ( Error = WasmStyle{} Warning = WasmStyle{} Success = WasmStyle{} Info = WasmStyle{} FilePath = WasmStyle{} LineNumber = WasmStyle{} ContextLine = WasmStyle{} Highlight = WasmStyle{} Location = WasmStyle{} Command = WasmStyle{} Progress = WasmStyle{} Prompt = WasmStyle{} Count = WasmStyle{} Verbose = WasmStyle{} ListHeader = WasmStyle{} ListItem = WasmStyle{} TableHeader = WasmStyle{} TableCell = WasmStyle{} TableTotal = WasmStyle{} TableTitle = WasmStyle{} TableBorder = WasmStyle{} ServerName = WasmStyle{} ServerType = WasmStyle{} ErrorBox = WasmStyle{} Header = WasmStyle{} TreeEnumerator = WasmStyle{} TreeNode = WasmStyle{} )
Pre-configured styles (all no-op in Wasm)
Functions ¶
This section is empty.
Types ¶
type WasmBorder ¶ added in v0.45.4
type WasmBorder struct{}
WasmBorder is a no-op border placeholder.
Click to show internal directories.
Click to hide internal directories.