depend on proxmox 0.1.13, use new tty helpers from there

This commit is contained in:
Dietmar Maurer
2020-01-31 08:16:00 +01:00
parent f0188322ed
commit 501f4fa220
6 changed files with 20 additions and 144 deletions

View File

@ -15,13 +15,16 @@ use serde_json::{json, Value};
use percent_encoding::percent_encode;
use xdg::BaseDirectories;
use proxmox::tools::{
fs::{file_get_json, replace_file, CreateOptions},
use proxmox::{
sys::linux::tty,
tools::{
fs::{file_get_json, replace_file, CreateOptions},
}
};
use super::pipe_to_stream::PipeToSendStream;
use crate::tools::async_io::EitherStream;
use crate::tools::{self, tty, BroadcastFuture, DEFAULT_ENCODE_SET};
use crate::tools::{self, BroadcastFuture, DEFAULT_ENCODE_SET};
#[derive(Clone)]
pub struct AuthInfo {