Skip to content

Cursor changes from blinking to steady after some ncurses programs terminate #5609

Closed Answered by mitchellh
profbbrown asked this question in Issue Triage
Discussion options

You must be logged in to vote

Found a detailed comment in our source explaining what is happening:

        // If we are setting cursor blinking, we ignore it if we have
        // a default cursor blink setting set. This is a really weird
        // behavior so this comment will go deep into trying to explain it.
        //
        // There are two ways to set cursor blinks: DECSCUSR (CSI _ q)
        // and DEC mode 12. DECSCUSR is the modern approach and has a
        // way to revert to the "default" (as defined by the terminal)
        // cursor style and blink by doing "CSI 0 q". DEC mode 12 controls
        // blinking and is either on or off and has no way to set a
        // default. DEC mode 12 is also the mo…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@profbbrown
Comment options

Comment options

You must be logged in to vote
1 reply
@mitchellh
Comment options

Answer selected by mitchellh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os/macos needs-confirmation A reproduction has been reported, but the bug hasn't been confirmed or reproduced by a maintainer.
3 participants