aboutsummaryrefslogtreecommitdiff
path: root/core.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix term.isattyPeter Melnichenko2016-06-091-1/+1
| | | | | | | | 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.
* Fix _POSIX_C_SOURCE (for good, hopefully)Rob Hoelz2016-04-051-1/+1
|
* Bring in POSIX definitions (eg. fileno) from stdio.hRob Hoelz2016-03-151-0/+2
| | | | Fixes compilation warning
* Don't require unistd for MS C++Rob Hoelz2016-03-151-1/+3
| | | | | | Addresses https://github.com/hoelzro/lua-term/issues/15 This can still work with MinGW if we don't include unistd.h
* Include <unistd.h> for isatty()Orion Poplawski2014-05-021-0/+1
|
* Fix pointer problemRob Hoelz2012-06-251-2/+2
|
* Import of first release of lua-termRob Hoelz2012-06-251-0/+22