feat(bash): set iTerm2 cursor shape to underline

This commit is contained in:
Fernando Schauenburg 2020-12-08 01:37:52 +01:00
parent 4741aba4e8
commit 37f5dcb035

View file

@ -311,6 +311,9 @@ _set_iterm2_colors() { # 1: foreground, 2: background, 3: cursor
curbg $cursor curbg $cursor
link $Cyan_RGB link $Cyan_RGB
EOL EOL
_osc_start
printf "1337;CursorShape=2" # set cursor shape to underline
_osc_end
} }
# Documentation for xterm at https://www.xfree86.org/4.8.0/ctlseqs.html # Documentation for xterm at https://www.xfree86.org/4.8.0/ctlseqs.html