7 Commits

Author SHA1 Message Date
Lion Kortlepel
dbb01998ea
fix ignored return value in getch_ 2022-09-26 12:24:44 +02:00
Lion Kortlepel
988f19fd00
fix getch_ to explicitly ignore read() return value 2022-09-26 12:20:07 +02:00
Lion Kortlepel
24c98eb2b2
add more compile-time diagnostics, implement fixes for them
Before, a lot of common errors went unnoticed, due to insufficient
compiler diagnostics. This commit fixes this by adding a lot of new
diagnostics, and fixing the issues found by this.
2022-09-26 12:02:05 +02:00
Lion Kortlepel
6da9a921d0
fix "init and reset termios" unit test
it was testing via memory-equality, which is not valid.
2022-09-26 01:14:08 +02:00
Lion Kortlepel
46b92b4992
only run termios test if stdin is a tty 2022-05-26 16:14:05 +02:00
Lion Kortlepel
28c43a51ee
add some tests for LuaAPI FS, termios 2022-05-26 13:33:08 +02:00
Lion Kortlepel
e5e447c7af begin rewrite: add lionkor/commandline 2021-03-18 23:44:14 +02:00