mirror of https://github.com/Hilbis/Hilbish
1.7 KiB
1.7 KiB
title | description | layout | menu | ||||
---|---|---|---|---|---|---|---|
Module terminal | low level terminal library | doc |
|
Introduction
The terminal library is a simple and lower level library for certain terminal interactions.
Functions
restoreState() | Restores the last saved state of the terminal |
saveState() | Saves the current state of the terminal. |
setRaw() | Puts the terminal into raw mode. |
size() | Gets the dimensions of the terminal. Returns a table with width and height |
terminal.restoreState()
Restores the last saved state of the terminal
Parameters
This function has no parameters.
terminal.saveState()
Saves the current state of the terminal.
Parameters
This function has no parameters.