From 1363c5755693333dd03bbf893936048973b4c998 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 4 Sep 2022 20:39:06 +0300 Subject: [PATCH 1/1] Reset (green) cursor colour before command is executed After visual editing, cursor colour stays red. --- zsh/.zsh/rc/015prompt.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/.zsh/rc/015prompt.zsh b/zsh/.zsh/rc/015prompt.zsh index abd2502..194cdd5 100644 --- a/zsh/.zsh/rc/015prompt.zsh +++ b/zsh/.zsh/rc/015prompt.zsh @@ -31,6 +31,7 @@ zle -N zle-line-init zle -N zle-keymap-select preexec() { + printf "\e]12;green\e\\" SECONDS=0 } -- 2.44.0