diff --git a/doc/togglecursor.txt b/doc/togglecursor.txt index 7149769..62e9eef 100644 --- a/doc/togglecursor.txt +++ b/doc/togglecursor.txt @@ -20,10 +20,10 @@ SUPPORTED TERMINALS *togglecursor-supported* Currently supported terminals are iTerm2 for the Mac (version 1.0.0.20130602 beta or better is required), Mac's native Terminal (2.7 or better, starting in Sierra), rxvt-unicode (version 9.21 or better), VTE3 based terminals (including -gnome-terminal), kitty (version 0.6 or better), and KDE's Konsole. XTerm 252 or -better is supported as well. XTerms younger than 282 don't support the line -cursor, so this plugin currently sets the cursor to an underline instead for -insert mode. +gnome-terminal), kitty (version 0.6 or better), WezTerm, and KDE's Konsole. +XTerm 252 or better is supported as well. XTerms younger than 282 don't support +the line cursor, so this plugin currently sets the cursor to an underline +instead for insert mode. Older versions of VTE3 based terminals (before v0.39) do not support changing the cursor via escape sequences and are not supported. On unsupported diff --git a/plugin/togglecursor.vim b/plugin/togglecursor.vim index 09b3764..9465a3c 100644 --- a/plugin/togglecursor.vim +++ b/plugin/togglecursor.vim @@ -66,6 +66,8 @@ if s:supported_terminal == "" let s:supported_terminal = 'xterm' elseif $TERM_PROGRAM == "Apple_Terminal" && str2nr($TERM_PROGRAM_VERSION) >= 388 let s:supported_terminal = 'xterm' + elseif $TERM_PROGRAM == "WezTerm" + let s:supported_terminal = 'xterm' elseif $TERM == "xterm-kitty" let s:supported_terminal = 'xterm' elseif $TERM == "rxvt-unicode" || $TERM == "rxvt-unicode-256color"