Merge pull request #3618 from Hoekstraa/clearTerminal

API: Terminal screen can now be cleared from within scripts with ns.ui.clearTerminal()
This commit is contained in:
hydroflame
2022-05-13 11:07:25 -04:00
committed by GitHub
3 changed files with 16 additions and 0 deletions

View File

@@ -4391,6 +4391,13 @@ interface UserInterface {
* RAM cost: 0 GB
*/
getGameInfo(): GameInfo;
/**
* Clear the Terminal window, as if the player ran `clear` in the terminal
* @remarks
* RAM cost: 0.2 GB
*/
clearTerminal(): void;
}
/**