AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.07k stars 350 forks source link

Add `terminal.Cursor` error handling on Windows #414

Closed mislav closed 2 years ago

mislav commented 2 years ago

Followup to #404, which did the same for non-Windows implementations

This also un-exports Cursor.Move() from other implementations because it has no equivalent on Windows and thus is unsafe to use in a cross-platform manner.