This commit is contained in:
Daylin Morgan 2024-09-27 16:52:02 -05:00
parent d6e831367c
commit 99fd2c1546
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 9 additions and 5 deletions

View file

@ -4,6 +4,9 @@
use BB style markup to add color to strings using VT100 escape codes use BB style markup to add color to strings using VT100 escape codes
]## ]##
# TODO:
#{.push raises:[].}
import std/[os, sequtils, strformat, strutils] import std/[os, sequtils, strformat, strutils]
import ./bbansi/[styles, utils, colors] import ./bbansi/[styles, utils, colors]
export utils export utils

11
todo.md
View file

@ -2,7 +2,7 @@
- [x] add cligen adapters to add colors with bbansi - [x] add cligen adapters to add colors with bbansi
- [ ] add integration test check cligen - [ ] add integration test check cligen
- [ ] add generic help generator to accompany optparse - [ ] add generic help generator to accompany parseopt
## improvements ## improvements
@ -11,11 +11,12 @@
## features ## features
- [ ] add confirmation proc
- [x] make a basic choose one from list widget - [x] make a basic choose one from list widget
- [ ] add basic progress bar - [ ] tables/boxes?
- [ ] add support for 256 and truecolors - [ ] confirmation proc
- [ ] add support for rgb colors - [ ]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` - [ ] 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) - [x] improve color detection [ref](https://github.com/Textualize/rich/blob/4101991898ee7a09fe1706daca24af5e1e054862/rich/console.py#L791)