implemented braille support, including --threshold flag
This commit is contained in:
1 parent
3fdaa53d23
commit
2b9817080e
4 files changed
+55
-16
No files matched your search
@@ -30,6 +30,11 @@ pub struct Cli {
|
||||
/// Takes priority over '--width'
|
||||
#[arg(short = 'f', long)]
|
||||
pub full: bool,
|
||||
/// use a custom threshold when converting to braille
|
||||
///
|
||||
/// default is 128
|
||||
#[arg(default_value_t = 128, long)]
|
||||
pub threshold: u8,
|
||||
/// use a custom character map for output
|
||||
///
|
||||
/// The character map is interpreted from dark(first character) to light(last character).
|
||||
|
||||