mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Deprecate tty config keyword but keep it around for now
This commit is contained in:
parent
2cba4b863f
commit
784201ea2e
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ static int data_handler(void *user, const char *section, const char *name,
|
|||
if (!strcmp(section, c.section_name))
|
||||
{
|
||||
// Set configuration parameter if found
|
||||
if (!strcmp(name, "device"))
|
||||
if (!strcmp(name, "device") || !strcmp(name, "tty"))
|
||||
{
|
||||
asprintf(&c.tty, value, c.match);
|
||||
option.tty_device = c.tty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue