close abstract method
Closes the buffered keys and releases any resources.
After calling this method, any further calls to isPressed will return
false.
This method should be called when the program is done reading keys, but before disabling raw mode.
Implementation
Future<void> close();