Skip to content

Add command to get cursor location #25

@noelwelsh

Description

@noelwelsh

This can be done with the escape code ESC[6n. The terminal will respond with a code of the form ESC[r;cR, where r is the row and c is the column.

I don't know of any way to do this via the termios API. The implementation of the Termion method could provide some inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions