Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncdirect ought have relative moves #419

Closed
dankamongmen opened this issue Mar 23, 2020 · 0 comments
Closed

ncdirect ought have relative moves #419

dankamongmen opened this issue Mar 23, 2020 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@dankamongmen
Copy link
Owner

dankamongmen commented Mar 23, 2020

We might not be able to portably determine where we are, but we can count how far we've come from where we've been. It would thus be useful to add cursor-relative moves to ncdirect. I see no real use for these in fullscreen mode (they're trivially synthesized if so from ncplane_yx() + ncplane_cursor_move_yx()).

this requires underlying terminal support, but i think that's pretty broad (we want e.g. cuu1, cuf1, cub1, and cud1). note that if we could somehow detect a failure, this would allow a means to determine absolute cursor position...

@dankamongmen dankamongmen added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 23, 2020
@dankamongmen dankamongmen added this to the 1.4.0 milestone Mar 23, 2020
@dankamongmen dankamongmen self-assigned this Mar 23, 2020
@dankamongmen dankamongmen modified the milestones: 1.4.0, 1.3.0 Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant