diff options
| author | dam <dam@gudinoff> | 2024-05-05 04:28:56 +0100 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-05-05 04:28:56 +0100 |
| commit | 3ae6ce04674daaef4f3bf69adbfe4333402cb423 (patch) | |
| tree | 6e62e2cc106f00baeb9b632e3e3faeb2e4eb5908 | |
| parent | 54103773365e06d6da8518d135c396949e683960 (diff) | |
| download | task-time-tracker-3ae6ce04674daaef4f3bf69adbfe4333402cb423.tar.zst task-time-tracker-3ae6ce04674daaef4f3bf69adbfe4333402cb423.zip | |
Added TODO entry.
| -rw-r--r-- | modules/TUI/module.jai | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai index dc9643c..27c2fcc 100644 --- a/modules/TUI/module.jai +++ b/modules/TUI/module.jai @@ -175,7 +175,7 @@ Style :: struct { negative: bool; } -set_style :: inline (style: Style) { +set_style :: (style: Style) { auto_release_temp(); builder := String_Builder.{ allocator = temporary_allocator }; @@ -214,8 +214,9 @@ set_style :: inline (style: Style) { context.terminal_style = style; } -clear_style :: inline () { +clear_style :: () { write_string(#run sprint(Commands.SetGraphicsRendition, "0")); + // TODO Maybe reset context.terminal_style? } using_style :: (style: Style) #expand { |
