quit method

void quit()

Implementation

void quit() async {
  //Debugger.verbose('${pcHex(-1)} [quit]');

  Z.inInterrupt = true;
  await Z.sendIO({
    "command": ioCommands.print,
    "window": currentWindow,
    "buffer": Z.sbuff.toString()
  });

  Z.inInterrupt = false;
  Z.sbuff.clear();
  Z.quit = true;

  await Z.sendIO({"command": ioCommands.quit});
}