mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Configure socket mapping flags from tty parsing logic. Remove duplicate parsing logic in socket
This commit is contained in:
parent
65b3353f57
commit
5651c1c5d7
3 changed files with 10 additions and 41 deletions
|
|
@ -25,6 +25,10 @@
|
|||
#include <stdbool.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
extern bool map_i_nl_cr;
|
||||
extern bool map_i_cr_nl;
|
||||
extern bool map_ign_cr;
|
||||
|
||||
void socket_configure(void);
|
||||
void socket_write(char input_char);
|
||||
int socket_add_fds(fd_set *fds, bool connected);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue