Commit Graph

119 Commits

Author SHA1 Message Date
Kartik K. Agaram d3495adda7 remove upstream Readmes
They're already growing bitrot.
2021-11-10 15:50:13 -08:00
Kartik K. Agaram 2b3036b9d7 life: fix loaf pattern 2021-11-10 14:55:06 -08:00
Kartik K. Agaram c9546d3523 life: bugfix in up arrow 2021-11-10 14:48:31 -08:00
Kartik K. Agaram dc05a10e23 life: move starting pattern around on the screen
This assumes we're doing it early soon after opening a new pattern, when
it hasn't yet reached the margins. Quick and dirty, but seems good
enough.
2021-11-10 14:26:38 -08:00
Kartik K. Agaram 38f46a4e92 . 2021-11-10 13:48:56 -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 dab2a1fbf3 load standard Game of Life pattern files 2021-11-10 09:44:22 -08:00
Kartik K. Agaram d2d388ffdc some commandline options for life.teliva 2021-11-10 09:01:19 -08:00
Kartik K. Agaram 43724435fe drop an obsolete build target 2021-11-10 08:35:08 -08:00
Kartik K. Agaram b397edcfbd . 2021-11-09 20:52:53 -08:00
Kartik K. Agaram 6a89795395 . 2021-11-08 19:12:06 -08:00
Kartik K. Agaram 689d6d840f state priorities in Readme 2021-11-08 19:09:28 -08:00
Kartik K. Agaram 7def405806 . 2021-11-07 15:39:27 -08:00
Kartik K. Agaram 16de70882a more tweaks to Readme 2021-11-07 15:33:02 -08:00
Kartik K. Agaram 18aaa7ff68 . 2021-11-07 15:26:12 -08:00
Kartik K. Agaram 72e64d79d6 . 2021-11-07 15:24:48 -08:00
Kartik K. Agaram e922cdbf16 . 2021-11-07 10:35:57 -08:00
Kartik K. Agaram 6dcce7056a update screenshot 2021-11-07 10:31:33 -08:00
Kartik K. Agaram ef9c42084d switch menu bars to reverse video 2021-11-07 10:29:29 -08:00
Kartik K. Agaram d5eb2fb752 update screenshot 2021-11-07 10:16:38 -08:00
Kartik K. Agaram 1f3ed8210d delete some Lua 5.1 things
These are likely to suffer bitrot.
2021-11-07 10:09:27 -08:00
Kartik K. Agaram 2b7ffea316 fix menu colors
I had it switching to a dark background on me.
2021-11-07 08:06:42 -08:00
Kartik K. Agaram 22f1624728 better support light backgrounds
Thanks nicolas decoster for reporting this issue.
2021-11-07 08:04:33 -08:00
Kartik K. Agaram 40fdaf2a2a more obvious phrasing
Early returns are only worthwhile if they're utterly obvious.
2021-11-07 06:30:15 -08:00
Kartik K. Agaram 51d6ae77d2 fix a regression in commit ee85ad384f 2021-11-07 06:28:24 -08:00
Kartik K. Agaram d79c83f209 . 2021-11-07 06:05:55 -08:00
Kartik K. Agaram 484575323b apps don't need to setlocale; it's hardcoded 2021-11-06 22:15:00 -07:00
Kartik K. Agaram 1d0d1fb31d . 2021-11-06 22:11:23 -07:00
Kartik K. Agaram ae5309bcbe syntax highlighting on GitHub 2021-11-06 22:03:12 -07:00
Kartik K. Agaram a8668eaf9f game of life
This required me to figure out some unicode-related nuances, but no new
primitives.
2021-11-06 21:49:23 -07:00
Kartik K. Agaram 8d1e5f6475 . 2021-11-06 19:21:10 -07:00
Kartik K. Agaram 5619f0117a window:nodelay() for non-blocking input 2021-11-06 19:21:01 -07:00
Kartik K. Agaram 8d5d27af0c . 2021-11-06 17:36:40 -07:00
Kartik K. Agaram 7df7fe446c . 2021-11-06 17:31:49 -07:00
Kartik K. Agaram 19472f7e65 . 2021-11-06 14:44:07 -07:00
Kartik K. Agaram 62ecf17870 escape hatch to quit with a pending error 2021-11-06 14:41:11 -07:00
Kartik K. Agaram 369eaeeaf1 . 2021-11-06 14:16:44 -07:00
Kartik K. Agaram fb022f5880 . 2021-11-06 14:13:39 -07:00
Kartik K. Agaram cba53ec9f6 reorg editor transitions 2021-11-06 13:22:05 -07:00
Kartik K. Agaram 3305ac0b90 start showing error messages in editor
Before we'd end up in cryptic situations where error messages would get
hidden when the program got out of ncurses mode.

Now it's a little nicer with error messages showing up at the bottom of
the editor.

But there's still a problem: there's no way to abort without fixing an
error.
2021-11-06 13:10:22 -07: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 2964a5e74a refactor menu drawing 2021-11-06 12:41:14 -07:00
Kartik K. Agaram 9b99cd2a56 . 2021-11-06 12:15:41 -07:00
Kartik K. Agaram 2b580e4174 adjust app style a tad denser 2021-11-06 10:57:40 -07:00
Kartik K. Agaram 3e1c9986d7 . 2021-11-06 10:55:10 -07:00
Kartik K. Agaram 88c1b7181d update screenshots 2021-11-06 10:52:35 -07:00
Kartik K. Agaram 307c1df502 tweak the example app 2021-11-06 10:43:35 -07:00
Kartik K. Agaram 3e94073a88 auto-save
We'll add version control soon.
2021-11-06 10:37:49 -07:00
Kartik K. Agaram 38d202d68d replace initial help message with a menu 2021-11-06 10:35:50 -07:00