promptTerminate function Null safety

Future promptTerminate()

Terminate a prompt session.

Implementation

Future promptTerminate() async {
  await sharedStdIn.terminate();
}