From e9c75a78375cff98bb844d6db8ce15d965cba320 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 11 Oct 2019 19:07:05 -0700 Subject: Use `tput cvvis` and `tput civis` for cursor visibility and fix for `>` shell mode not showing cursor. --- bindings.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings.bb') diff --git a/bindings.bb b/bindings.bb index e7a90ea..83b6de3 100644 --- a/bindings.bb +++ b/bindings.bb @@ -130,7 +130,7 @@ p: # Page through a file with $PAGER :: # Run a command ask cmd ':' && sh -c "$BBSHELLFUNC$cmd" -- "$@"; bb +r; pause >: # Open a shell - tput rmcup; $SHELL; bb +r + tput rmcup; tput cvvis; $SHELL; bb +r r,F2: # Rename a file ask newname "Rename $(printf "\033[33m%s\033[39m" "$(basename "$BBCURSOR")"): " "$(basename "$BBCURSOR")" || exit r="$(dirname "$BBCURSOR")/$newname" || exit -- cgit v1.2.3