diff --git a/README.md b/README.md index 45398ed..f5952cc 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,17 @@ function slick_prompt_precmd() { function slick_prompt_preexec() { slick_prompt_timestamp=$EPOCHSECONDS + + # Set cursor style + # 0 ⇒ blinking block. + # 1 ⇒ blinking block (default). + # 2 ⇒ steady block. + # 3 ⇒ blinking underline. + # 4 ⇒ steady underline. + # 5 ⇒ blinking bar, xterm. + # 6 ⇒ steady bar, xterm. + + echo -ne "\e[4 q"; } ```