Re-add write-wait
The wait on login is no longer necessary, but the wait for write is still necessary for communication.
This commit is contained in:
parent
7f8d0a8397
commit
9bd3fc067d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ impl TTY{
|
|||
let output = self.tty.write_all(COMMAND_MAP.get(&command).unwrap().as_bytes()).is_ok();
|
||||
self.last = command;
|
||||
_ = self.tty.flush();
|
||||
//std::thread::sleep(std::time::Duration::from_millis(500));
|
||||
std::thread::sleep(std::time::Duration::from_millis(500));
|
||||
return output;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue