Skip to content

Commit

Permalink
fix cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Mar 10, 2024
1 parent 54197d3 commit 551cf83
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
```

Expand Down

0 comments on commit 551cf83

Please sign in to comment.