commit | a8288b26230129a71843335733aff07f0bdfdba6 | [log] [download] |
---|---|---|
author | Florian Nücke <florian@nuecke.de> | Wed Oct 23 17:10:56 2013 +0200 |
committer | Florian Nücke <florian@nuecke.de> | Wed Oct 23 17:10:56 2013 +0200 |
tree | b2692aaf92902243a0c0a2a35a80697725ed57a1 | |
parent | e9f2fac8611a40a630a092d03ac05dec59147785 [diff] |
ctrl+d for soft and ctrl+c for hard abort in term.read, resulting in 'nil' being read, signalling an eof and thus allowing the lua program to be quit that way; removed the exit() function from the lua function; added `shell.parse` for rudimentary argument parsing (anything starting with `-` is treated as an option or a list of option (each option name must be exactly one char); added key state tracking and keyboard library