mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add Lua API twrite
The twrite Lua API is a variation of the write API, with the output
character mapping and output-delay / output-line-delay features enabled.
Since it processes each character internally, writing speed is slower
than the write API.
~~~~~~~~~~~~~~~~~~~~~~~
twrite(string)
Translate string with output character mapping and write the
translated string to serial device with output-delay /
output-line-delay.
This commit is contained in:
parent
6a590bd598
commit
9e51d2e4ee
2 changed files with 20 additions and 0 deletions
|
|
@ -84,3 +84,5 @@ void tty_input_thread_wait_ready(void);
|
|||
void tty_line_set(int fd, tty_line_config_t line_config[]);
|
||||
void tty_search(void);
|
||||
GList *tty_search_for_serial_devices(void);
|
||||
void forward_to_tty(int fd, char output_char);
|
||||
void tty_sync(int fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue