v2: support querying and restoring cursor style via DECRQSS
Author: aymanbagabasCreated Dec 12, 2025Updated Jul 28, 2026
Labelsenhancement
Currently, Bubble Tea always restores the cursor to the default blinking block cursor style. Instead, and if the terminal supports DECRQSS, we should query for the existing style before changing it so that we can restore the same style later.
Source: charmbracelet/bubbletea