Add threaded input handling

To make tio more responsive to quit and I/O flush key command when main I/O
thread is blocked on output.
This commit is contained in:
Martin Lund 2022-11-24 22:52:28 +01:00
parent 12f20c84e3
commit 93e6efc001
5 changed files with 123 additions and 9 deletions

View file

@ -20,9 +20,12 @@ tio_sources = [
'alert.c'
]
tio_dep = dependency('inih', required: true,
tio_dep = [
dependency('threads', required: true),
dependency('inih', required: true,
fallback : ['libinih', 'inih_dep'],
default_options: ['default_library=static', 'distro_install=false'])
]
tio_c_args = ['-Wno-unused-result']