2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-05 02:32:01 +00:00
Hilbish/defs/terminal.json
sammy-ette 85c197d64b
feat: lots of changes
- doc gen is done differently
- docs look better too
- ... im lazy to rewrite the commit because i lost it because GPG_TTY ISNT SET FOR SOME REASON
2025-06-12 19:35:54 -04:00

54 lines
1.3 KiB
JSON

{
"name": "terminal",
"shortDescription": "low level terminal library",
"description": "The terminal library is a simple and lower level library for certain terminal interactions.",
"properties": [],
"fields": [],
"docs": [
{
"name": "restoreState",
"description": [
"Restores the last saved state of the terminal"
],
"signature": "restoreState()",
"goFuncName": "termrestorestate",
"isInterface": false,
"isMember": false,
"isType": false
},
{
"name": "saveState",
"description": [
"Saves the current state of the terminal."
],
"signature": "saveState()",
"goFuncName": "termsavestate",
"isInterface": false,
"isMember": false,
"isType": false
},
{
"name": "setRaw",
"description": [
"Puts the terminal into raw mode."
],
"signature": "setRaw()",
"goFuncName": "termsetraw",
"isInterface": false,
"isMember": false,
"isType": false
},
{
"name": "size",
"description": [
"Gets the dimensions of the terminal. Returns a table with `width` and `height`",
"NOTE: The size refers to the amount of columns and rows of text that can fit in the terminal."
],
"signature": "size()",
"goFuncName": "termsize",
"isInterface": false,
"isMember": false,
"isType": false
}
]
}