Removed the pager crate in favour of implementing that functionality in jisho-cli. Added windows version of terminal_size function.

This commit is contained in:
Hiers 2023-02-19 11:01:24 +00:00
parent bc8a29fcf3
commit d56d31cc64
3 changed files with 130 additions and 43 deletions

View file

@ -8,6 +8,9 @@ repository = "https://github.com/JojiiOfficial/jisho-cli"
license = "GPL-3.0"
edition = "2018"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.45.0", features = ["Win32_Foundation", "Win32_System_Console"] }
[dependencies]
ureq = { version = "2.1.0", features = ["json"] }
libc = "0.2.139"
@ -17,6 +20,5 @@ colored = "2.0.0"
argparse = "0.2.2"
webbrowser = "0.5.5"
atty = "0.2"
pager = "0.16.1"
[features]