Home > bitburner > UserInterface
User Interface API.
Signature:
interface UserInterface
Method | Description |
---|---|
clearTerminal() | Clear the Terminal window, as if the player ran clear in the terminal |
closeTail(pid) | Close the tail window of a script. |
getGameInfo() | Gets the current game information (version, commit, ...) |
getStyles() | Get the current styles |
getTheme() | Get the current theme |
moveTail(x, y, pid) | Move a tail window. |
openTail(fn, host, args) | Open the tail window of a script. |
renderTail(pid) | Render a tail window. |
resetStyles() | Resets the player's styles to the default values |
resetTheme() | Resets the player's theme to the default values |
resizeTail(width, height, pid) | Resize a tail window. |
setStyles(newStyles) | Sets the current styles |
setTailFontSize(pixel, fn, host, args) | Set the font size of the tail window of a script. |
setTailTitle(title, pid) | Set the title of the tail window of a script. |
setTheme(newTheme) | Sets the current theme |
windowSize() | Get the current window size |