kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.34k stars 151 forks source link

Feat: Human readable preview size #547

Open Lzzzzzt opened 1 week ago

Lzzzzzt commented 1 week ago

add bytesize for parse the bytes string

just change the deserialize function for max_preview_size and change the default config to "2MiB" and change the doc