From 5bab829b3a2cc4836d3584c9ea5ffbcab9fdf90b Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Wed, 13 Nov 2024 21:44:34 +0100 Subject: [PATCH] Add Built-in Widgets --- Built-in Widgets.-.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Built-in Widgets.-.md diff --git a/Built-in Widgets.-.md b/Built-in Widgets.-.md new file mode 100644 index 0000000..b0ab3ae --- /dev/null +++ b/Built-in Widgets.-.md @@ -0,0 +1,14 @@ +`Widget`'s provide an isolated struct which provides the contents to display in the provided `Size` on the terminal. Each `Widget` can control how and when to update their displayed contents. + +The following `Widget`'s are provided by `zterm`: + +- `RawText` +- `Spacer` + +# RawText + +Pager `Widget` for the provided file. Mainly used for Debugging purposes. + +# Spacer + +Empty `Widget` that is supposed to remain empty and serve as a placeholder for corresponding areas of the terminal screen. \ No newline at end of file