eraseWindow method

void eraseWindow()

Implementation

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

  var operands = visitOperandsVar(1, false);

  Z.inInterrupt = true;
  await Z.sendIO(
      {"command": ioCommands.clearScreen, "window_id": operands[0].value});
  Z.inInterrupt = false;
  Z.callAsync(Z.runIt);
}