From 99fd2c15464d817f5a479f3692ac2505ee09bc97 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 27 Sep 2024 16:52:02 -0500 Subject: [PATCH] todos --- src/hwylterm/bbansi.nim | 3 +++ todo.md | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/hwylterm/bbansi.nim b/src/hwylterm/bbansi.nim index 2441358..a6441b2 100644 --- a/src/hwylterm/bbansi.nim +++ b/src/hwylterm/bbansi.nim @@ -4,6 +4,9 @@ use BB style markup to add color to strings using VT100 escape codes ]## +# TODO: +#{.push raises:[].} + import std/[os, sequtils, strformat, strutils] import ./bbansi/[styles, utils, colors] export utils diff --git a/todo.md b/todo.md index 17ce8af..d16933f 100644 --- a/todo.md +++ b/todo.md @@ -2,7 +2,7 @@ - [x] add cligen adapters to add colors with bbansi - [ ] add integration test check cligen -- [ ] add generic help generator to accompany optparse +- [ ] add generic help generator to accompany parseopt ## improvements @@ -11,11 +11,12 @@ ## features -- [ ] add confirmation proc - [x] make a basic choose one from list widget -- [ ] add basic progress bar -- [ ] add support for 256 and truecolors - - [ ] add support for rgb colors +- [ ] tables/boxes? +- [ ] confirmation proc +- [ ]basic progress bar +- [ ] support for 256 and truecolors + - [ ] support for rgb colors - [ ] modify 256 colors w/parser changes to be `"[color(9)]red"` instead of `[9]red` - [x] improve color detection [ref](https://github.com/Textualize/rich/blob/4101991898ee7a09fe1706daca24af5e1e054862/rich/console.py#L791)