https://github.com/thatonegin/lcb
Ncurses bindings for lua
https://github.com/thatonegin/lcb
Last synced: about 1 year ago
JSON representation
Ncurses bindings for lua
- Host: GitHub
- URL: https://github.com/thatonegin/lcb
- Owner: ThatOneGin
- License: gpl-2.0
- Created: 2024-11-17T01:27:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-23T13:55:08.000Z (over 1 year ago)
- Last Synced: 2025-02-13T01:49:53.908Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LCB
Lua curses bindings
* Notes: these bindings are made close to the ncurses library, so anyone who knows ncurses can just download and use it with almost no problems. I can't emulate ncurses perfectly in lua as i'm new to the lua C api and i made this for learning purposes
## using (locally)
* 1. clone the repo and compile using ```make``` command.
* 2. and then, include the ```lcb.lua``` and the ```lcblib.so``` in whatever folder you want.
Example:
```lua
lcb = require("lcblib")
lcb.initscr()
lcb.getch()
lcb.endwin()
```
You dont have to worry about of a misspelling a variable/function name as it has auto completion for some editors.