From 04653ff54c5994b7fc10ea3a49c8f168aad03274 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 19 Aug 2024 22:53:56 -0400 Subject: read-tty: line-wrap based on window size --- src/read-tty | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/read-tty b/src/read-tty index 306a69d..799244b 100755 --- a/src/read-tty +++ b/src/read-tty @@ -2,4 +2,8 @@ : "${BASH_LOADABLES_PATH:=/lib/bash:/usr/lib/bash:/usr/local/lib/bash:$HOME/.local/lib/bash}" enable -f sleep sleep source read_chars.bash -(read_chars) +:|: +export COLUMNS +( + read_chars +) -- cgit v1.2.3