summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorNoah Too <41364823+krivahtoo@users.noreply.github.com>2021-11-18 18:40:19 +0300
committerGitHub <noreply@github.com>2021-11-18 10:40:19 -0500
commita3cf8fed94c0401f93aa983376c882130a2c6d02 (patch)
tree0088ad7cea7d8a872203160dfe5b48ff9e99636f /Cargo.lock
parent7a7600c7a5f423d0b0a887db80c221009a9d4990 (diff)
Add syntax highlighting to file previews (#106)
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index bb76a7c..4e83a03 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -18,6 +18,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20e59b2ccb4c1ffbbf45af6f493e16ac65a66981c85664f1587816c0b08cd698"
[[package]]
+name = "ansi-to-tui"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c3fb5747c9d1b444cb6c9f96c84d09a3f7ae9e1eb77f52ec45c8bf30a6e6bdf"
+dependencies = [
+ "tui",
+]
+
+[[package]]
name = "ansi_term"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -289,6 +298,7 @@ name = "joshuto"
version = "0.9.1"
dependencies = [
"alphanumeric-sort",
+ "ansi-to-tui",
"chrono",
"colors-transform",
"dirs-next",