diff options
author | Thijs <thijs@thijsschreijer.nl> | 2024-06-03 21:46:04 +0200 |
---|---|---|
committer | Thijs <thijs@thijsschreijer.nl> | 2024-06-03 21:46:04 +0200 |
commit | 98d68962584970bd467ab53b1d74cda46e322b15 (patch) | |
tree | cadb863507dc0728b76b8bee8bd7d2eaea1bc00c /examples | |
parent | 56db1511baeb0376a12915c69c1552b04010c26f (diff) | |
download | luasystem-98d68962584970bd467ab53b1d74cda46e322b15.zip |
fix docs, merging modules
Diffstat (limited to 'examples')
-rw-r--r-- | examples/read.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/read.lua b/examples/read.lua index bd5cbff..4b57b54 100644 --- a/examples/read.lua +++ b/examples/read.lua @@ -37,7 +37,7 @@ while true do if key == "A" then io.write(get_cursor_pos); io.flush() end -- check if we got a key or ANSI sequence - if keytype == "key" then + if keytype == "char" then -- just a key local b = key:byte() if b < 32 then |