summaryrefslogtreecommitdiff
path: root/examples/flag_debugging.lua
blob: 5f1d496890b5ea228f6f9a9c80a4caa4c0cd099a (plain)
1
2
3
4
5
6
7
local sys = require "system"

-- Print the Windows Console flags for stdin
sys.listconsoleflags(io.stdin)

-- Print the Posix termios flags for stdin
sys.listtermflags(io.stdin)