close method

  1. @override
Future<void> close()

Restores the terminal. Safe to call more than once.

Implementation

@override
Future<void> close() async {
  closed = true;
  await _input.close();
}