mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-28 13:48:51 +08:00
Updated Terminal API (markdown)
parent
4fa803f264
commit
b15cce1577
@ -6,6 +6,10 @@ The [terminalapi](https://github.com/mum4k/termdash/tree/master/terminal/termina
|
|||||||
|
|
||||||
The public API surface of this package consists of the following:
|
The public API surface of this package consists of the following:
|
||||||
|
|
||||||
|
## [terminalapi.Terminal](https://github.com/mum4k/termdash/blob/ffbf88caeddb1735dcf2a5f735eec80dc9cf9fe7/terminal/terminalapi/terminalapi.go#L25-L52)
|
||||||
|
|
||||||
|
All terminal implementations must implement this interface.
|
||||||
|
|
||||||
## [terminalapi.ColorMode](https://github.com/mum4k/termdash/blob/ffbf88caeddb1735dcf2a5f735eec80dc9cf9fe7/terminal/terminalapi/color_mode.go#L19-L20)
|
## [terminalapi.ColorMode](https://github.com/mum4k/termdash/blob/ffbf88caeddb1735dcf2a5f735eec80dc9cf9fe7/terminal/terminalapi/color_mode.go#L19-L20)
|
||||||
|
|
||||||
The **ColorMode** property specifies the amount of colors that can be displayed on a terminal and how are they addressed.
|
The **ColorMode** property specifies the amount of colors that can be displayed on a terminal and how are they addressed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user