mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Clean up shadow variable
This commit is contained in:
parent
14ee38a0d9
commit
ada2db0739
1 changed files with 2 additions and 2 deletions
|
|
@ -2643,8 +2643,8 @@ int tty_connect(void)
|
|||
readline_input(input_char);
|
||||
|
||||
// Write current line to tty device
|
||||
char *line = readline_get();
|
||||
tty_write(device_fd, line, strlen(line));
|
||||
char *rl_line = readline_get();
|
||||
tty_write(device_fd, rl_line, strlen(rl_line));
|
||||
tty_sync(device_fd);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue