aboutsummaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-06-09 13:53:05 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-06-09 13:53:05 +0300
commit183d7c49afba5e1adbc2c2df657a0fd216b85194 (patch)
tree7096bf4811235b0975bc69c7659ce491a0de902b /term
parent871802a4f12bfdaabd3bb217a80c92c0ae9c6119 (diff)
downloadlua-term-183d7c49afba5e1adbc2c2df657a0fd216b85194.tar.gz
lua-term-183d7c49afba5e1adbc2c2df657a0fd216b85194.tar.bz2
lua-term-183d7c49afba5e1adbc2c2df657a0fd216b85194.zip
Fix term.isatty
Pass '1' instead of '-1' to luaL_checkudata when getting the file argument to use the first argument, not the last. Error messages generated by luaL_checkudata are improved. Also, this happens to fix a crash on Lua 5.1.0 caused by a Lua bug.
Diffstat (limited to 'term')
0 files changed, 0 insertions, 0 deletions