mu-wizard

shell script to easily configure mu4e accounts on Emacs
git clone git://git.ckyln.com/~cem/mu-wizard
Log | Files | Refs | LICENSE

commit bdeae677b984208d26ac47a2e0a942a5358f6191
parent bb83b0ea1ef1e55c05586cd689dee333b72e3296
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu,  5 Nov 2020 23:48:01 +0300

getbut(): add docstring

Diffstat:
Mbin/muw | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/muw b/bin/muw @@ -22,8 +22,9 @@ prompt_noecho() { } getbut() { - stty=$(stty -g) - stty -icanon -echo + # This function can be used to get a single button input. No arguments + # necessary. + stty=$(stty -g); stty -icanon -echo dd bs=1 count=1 2>/dev/null stty "$stty" }