Commit Graph

16 Commits

Author SHA1 Message Date
Kartik K. Agaram
49a09cceec learning about Lua's debug infrastructure
https://www.lua.org/pil/23.2.html
2021-11-11 22:05:15 -08:00
Kartik K. Agaram
8dcf08565d main function for other apps besides life.teliva 2021-11-10 16:48:42 -08:00
Kartik K. Agaram
4914b5d08f why do we refresh screen after reading keyboard? 2021-11-10 13:03:25 -08:00
Kartik K. Agaram
e922cdbf16 . 2021-11-07 10:35:57 -08:00
Kartik K. Agaram
396684ebf1 new example: counter app 2021-11-06 12:55:26 -07:00
Kartik K. Agaram
ee85ad384f simple interface for adding to app menu
We're not going to enforce that the menu items actually do what they
advertise. It's just a way to draw on the bottom line of screen,
something apps aren't otherwise allowed to do.
2021-11-06 12:44:47 -07:00
Kartik K. Agaram
2b580e4174 adjust app style a tad denser 2021-11-06 10:57:40 -07:00
Kartik K. Agaram
307c1df502 tweak the example app 2021-11-06 10:43:35 -07:00
Kartik K. Agaram
a2aa431c1e slightly improve hanoi rendering 2021-11-05 19:53:16 -07:00
Kartik K. Agaram
ee3f6e8a22 colors: init_pair/color_pair 2021-11-05 19:43:40 -07:00
Kartik K. Agaram
643deca2e2 slightly clearer rendering in the example app 2021-11-05 18:44:16 -07:00
Kartik K. Agaram
cab996b194 make some space for the global menu
We'll eventually need some interface to add entries to it.
2021-11-05 18:43:37 -07:00
Kartik K. Agaram
18f06a5169 rename 'screen' to 'window'
We're going to set aside a portion of the screen soon that apps can't
touch.
2021-11-05 17:48:09 -07:00
Kartik K. Agaram
c0307fae88 resist the temptation to add to the Lua API
Instead we'll include code in the Lua app itself, to minimize the
differences between what runs on regular Lua and what runs on Teliva.
2021-11-05 16:41:31 -07:00
Kartik K. Agaram
048abcfbc2 ok, what do we need next for hanoi.lua? 2021-11-05 12:12:16 -07:00
Kartik K. Agaram
36ef0c236e a simple test "app": towers of hanoi
Currently it works with stock Lua and lcurses. Our job now is to build
in the bindings to make it work here.
2021-10-23 22:28:00 -07:00