close abstract method

Future<void> close()

Closes the keyboard and releases any resources associated with it.

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();