in lib/src/shared_stdin.dart [91:98]
Future<void> terminate() async { if (_sub == null) { throw StateError('Stdin has already been terminated.'); } await _sub?.cancel(); await _current?.close(); _sub = null; }