diff options
-rwxr-xr-x | telem.lua | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -26,10 +26,7 @@ current_post_index = nil -- Integer index into current_thread_posts -- Utility functions function cat_file(filename) - io.input(filename) - contents = io.read("*all") - io.input(io.stdin) - io.write(contents) + io.write(file.read(filename)) end function getchar() |