From b15cce157729a615185d97c94c7346f2b7c9297c Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Sun, 24 Feb 2019 02:53:08 -0500 Subject: [PATCH] Updated Terminal API (markdown) --- Terminal-API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Terminal-API.md b/Terminal-API.md index 32c6f90..86db3bd 100644 --- a/Terminal-API.md +++ b/Terminal-API.md @@ -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: +## [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) The **ColorMode** property specifies the amount of colors that can be displayed on a terminal and how are they addressed.