From f0b8b8c0a4b22dafc55f04cd5e06e6bcc65d99a2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 19 Apr 2020 02:08:05 -0700 Subject: [PATCH] Added more build instructions. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ccfd60c..1ee97d8 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,9 @@ constants, including terminal escape values and keycodes. void btui_fill_box(btui_t *bt, int x, int y, int w, int h); void btui_draw_shadow(btui_t *bt, int x, int y, int w, int h); -See [C/test.c](C/test.c) for example usage. +See [C/test.c](C/test.c) and [C/rainbow.c](C/rainbow.c) for example usage. You +can run `make testc` to run the C test demo and `make rainbow` to run the +rainbow C demo. ### Lua API @@ -145,7 +147,8 @@ before the error is printed. Here's a simple example program: bt:width() -- Return the scren width bt:height() -- Return the screen height -See [Lua/test.lua](Lua/test.lua) for example usage. +See [Lua/test.lua](Lua/test.lua) for example usage. Run `make lua` to build the +Lua library, and `make testlua` to run the Lua BTUI demo. ### Python API