diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-10-11 19:07:05 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-10-11 19:07:05 -0700 |
| commit | e9c75a78375cff98bb844d6db8ce15d965cba320 (patch) | |
| tree | b75d6d2533a1cddb5be833cc6ac09b8b2c170836 /bindings.bb | |
| parent | 4cc2bd59c3fcc877aab1a9060aa3e6d741b63f1a (diff) | |
Use `tput cvvis` and `tput civis` for cursor visibility and fix for `>`
shell mode not showing cursor.
Diffstat (limited to 'bindings.bb')
| -rw-r--r-- | bindings.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
