Browse files

Do not try to change cursor size on Linux console / stupid terminals

  • Loading branch information...
1 parent a06809c commit 0b771efc6ee05bb154cfc8f7166ab336ecd8a5f0 Adusso committed Sep 30, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 zsh-scripts/rc/87-cursor-on-insert
View
4 zsh-scripts/rc/87-cursor-on-insert
@@ -1,4 +1,8 @@
change-insert-cursor () {
+ if [[ "$STATUSBAR" != '1' ]]
+ then
+ return
+ fi
if [[ "$ZLE_STATE" == *overwrite* ]]
then
echo -ne '\033]50;CursorShape=0\007'

0 comments on commit 0b771ef

Please sign in to comment.