From 8d27d3a376319e02d06211acb64fbdf17019db08 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sat, 22 Mar 2025 19:15:07 -0400 Subject: [PATCH] AutoYADM commit: 2025-03-22 19:15:07 --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index c60dcdc5..8e857ab9 100644 --- a/.zshrc +++ b/.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\\"