I'm trying to build a full screen terminal application. I'm using Go as my language of choice. I've figured out how to read from os.Stdin
, but I'm unclear on how to clear the terminal window and manipulate the cursor position. I also want to capture the terminal input without it being printed (echoed back).
My questions are:
- How can I effectively clear and print to the terminal with column/row coordinates?
- How do I stop the terminal from printing keys pressed
My intent:
I want to create a full screen terminal application that renders it's own UI and handles input internally (hot keys/navigation/etc...).
If there are any libraries that cover this sort of use case please feel free to suggest them.