AutoYADM commit: 2025-03-22 19:15:07
This commit is contained in:
parent
1e578ee81e
commit
8d27d3a376
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -193,10 +193,14 @@ function chpwd-osc7-pwd() {
|
|||
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||
|
||||
function preexec {
|
||||
# needed for foot prompt integration
|
||||
print -n "\e]133;C\e\\"
|
||||
printf '\e[2 q' # block cursor before running a command
|
||||
}
|
||||
|
||||
precmd() {
|
||||
printf '\e[6 q' # beam cursor before showing the prompt again
|
||||
# needed for foot prompt integration
|
||||
print -Pn "\e]133;A\e\\"
|
||||
if ! builtin zle; then
|
||||
print -n "\e]133;D\e\\"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue