diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-06-20 22:43:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 22:43:06 +0200 |
commit | c1a64c1b75f97cef97965b3bd9a941564a6270bd (patch) | |
tree | b9a92dff6462abd5859c3c76f19748fad5d6c025 /examples/flag_debugging.lua | |
parent | 47c24eed0191f8f72646be63dee94ac2b35eb062 (diff) | |
parent | b87e6d6d762ee823e81dd7a8984f330eb4018fd8 (diff) | |
download | luasystem-c1a64c1b75f97cef97965b3bd9a941564a6270bd.tar.gz luasystem-c1a64c1b75f97cef97965b3bd9a941564a6270bd.tar.bz2 luasystem-c1a64c1b75f97cef97965b3bd9a941564a6270bd.zip |
Merge pull request #21 from lunarmodules/terminal
Diffstat (limited to 'examples/flag_debugging.lua')
-rw-r--r-- | examples/flag_debugging.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/flag_debugging.lua b/examples/flag_debugging.lua new file mode 100644 index 0000000..5f1d496 --- /dev/null +++ b/examples/flag_debugging.lua | |||
@@ -0,0 +1,7 @@ | |||
1 | local sys = require "system" | ||
2 | |||
3 | -- Print the Windows Console flags for stdin | ||
4 | sys.listconsoleflags(io.stdin) | ||
5 | |||
6 | -- Print the Posix termios flags for stdin | ||
7 | sys.listtermflags(io.stdin) | ||