summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-04 15:00:11 +0800
committerGitHub <noreply@github.com>2023-03-04 15:00:11 +0800
commitb058cca46d4c8a7e46734b2eb86e6993dd5bee8f (patch)
tree8adea8168bd4bedf3a93455316263c6439956c5a /Cargo.toml
parentdbdb2ed125214d7dab9dd2ef6ed03e1062b7cc27 (diff)
downloadaichat-b058cca46d4c8a7e46734b2eb86e6993dd5bee8f.tar.gz
refactor: use tui for better stream render (#5)
* feat: show question in the begining of stream render * refactor: use tui for better stream render * trivial updates * fine-tune stream text merging
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fbb14ad..c58cc41 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -31,6 +31,8 @@ tokio = { version = "1.26.0", features = ["full"] }
mdcat = { version = "1.1.0", default_features = false, features =["static"] }
pulldown-cmark = { version = "0.9.2", default-features = false, features = ['simd'] }
crossbeam = "0.8.2"
+tui = "0.19.0"
+ansi-to-tui = "2.0.0"
[dependencies.syntect]
version = "5.0.0"