From d8fb141bc4c4cc719c8b6e866d52590dee3f06c5 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Mon, 29 Apr 2024 16:47:00 +0200 Subject: [PATCH] Update lua read() description --- README.md | 2 ++ man/tio.1.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 8ba76cd..1a4e0b7 100644 --- a/README.md +++ b/README.md @@ -348,6 +348,8 @@ read(size, timeout) Returns number of bytes read on success, 0 on timeout, or -1 on error. + On success, returns read string as second return value. + set{line=state, ...} Set state of one or multiple tty modem lines. diff --git a/man/tio.1.in b/man/tio.1.in index b305d07..7dd7bc2 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -457,6 +457,8 @@ until data is ready to read. Returns number of bytes read on success, 0 on timeout, or -1 on error. +On success, returns read string as second return value. + .IP "\fBset{line=state, ...}" Set state of one or multiple tty modem lines.