aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-21 14:51:59 -0700
committerFuwn <[email protected]>2023-09-21 14:52:08 -0700
commitafeeb3cd9ded766f1882b5c958330a584ffb8bd3 (patch)
treecf99debc1f877dba94ebd4a0dfe653216c262d59
parentdocs(readme): add cool ideas (diff)
downloadsuzuri-afeeb3cd9ded766f1882b5c958330a584ffb8bd3.tar.xz
suzuri-afeeb3cd9ded766f1882b5c958330a584ffb8bd3.zip
fix(suzuri): no word wrap for minimal mode
-rwxr-xr-xsuzuri6
1 files changed, 5 insertions, 1 deletions
diff --git a/suzuri b/suzuri
index 05c0891..949d38a 100755
--- a/suzuri
+++ b/suzuri
@@ -45,5 +45,9 @@ fi
if [[ -n "${SUZURI_RAW}" ]]; then
echo "${body}"
else
- echo "${body}" | glow
+ if [[ -n "${SUZURI_MINIMAL}" ]]; then
+ echo "${body}" | glow -w 1
+ else
+ echo "${body}" | glow
+ fi
fi