changeset 654:4c30afd0451f

Fix blinking cursor in tmux
author nanaya <me@nanaya.pro>
date Wed, 05 May 2021 22:37:25 +0900
parents 1fb1c9cd3755
children 82f5e43259eb
files rc/bashrc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bashrc	Fri Apr 23 13:03:29 2021 +0900
+++ b/rc/bashrc	Wed May 05 22:37:25 2021 +0900
@@ -316,4 +316,8 @@
 unset _os
 unset _os_r
 
+# reset cursor shape
+# reference: https://conemu.github.io/en/AnsiEscapeCodes.html#Terminal_modes
+printf '\033[2 q'
+
 [ -f "${HOME}/.ec.bash.after" ] && . "${HOME}/.ec.bash.after"