From a9a133e6fb80460ab364e66206a7ffc8f9404b46 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 31 May 2022 17:29:58 -0700 Subject: update some App framework docs --- app.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app.lua') diff --git a/app.lua b/app.lua index 56cd244..ab22311 100644 --- a/app.lua +++ b/app.lua @@ -88,18 +88,18 @@ end -- >jkl -- ]]) -- App.args = {'/tmp/foo'} +-- -- define a screen with room for 2 lines of text -- App.screen.init{ -- width=100 -- height=30 -- } --- App.font{ +-- App.font.init{ -- height=15 -- } +-- -- check that screen shows next 2 lines of text after hitting pagedown -- App.run_after_keychord('pagedown') --- App.check_screen_contents{ --- y0='ghi' --- y15='' --- } +-- App.screen.check(0, 'ghi') +-- App.screen.check(15, 'jkl') -- end -- -- All functions starting with 'test_' (no modules) will run before the app -- cgit 1.4.1-2-gfad0