Variable: xterm-update-cursor

xterm-update-cursor is a customizable variable defined in xterm.el.gz.

Value

nil

Documentation

Whether to try to update cursor appearance on text terminals.

This works only for Xterm-compatible text terminals.

If set to t all supported attributes of the cursor are updated. If set to type only the cursor type is updated. This uses the CSI DECSCUSR escape sequence. If set to color only the cursor color is updated. This uses the OSC
12 and OSC 112 escape sequences.

This variable was added, or its default value changed, in Emacs 31.1.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/term/xterm.el.gz
(defcustom xterm-update-cursor nil
  "Whether to try to update cursor appearance on text terminals.
This works only for Xterm-compatible text terminals.

If set to t all supported attributes of the cursor are updated.
If set to `type' only the cursor type is updated.  This uses the CSI
DECSCUSR escape sequence.
If set to `color' only the cursor color is updated.  This uses the OSC
12 and OSC 112 escape sequences."
  :version "31.1"
  :type '(radio (const :tag "Do not update" nil)
                (const :tag "Update" t)
                (const :tag "Update type only" type)
                (const :tag "Update color only" color)))