mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-07 15:11:32 +00:00
fix(idm): reimplement packet processing algorithm (#330)
* chore(xen): rewrite event channel code * fix(idm): repair idm bugs on the file backend
This commit is contained in:
@ -73,8 +73,8 @@ impl StdioConsoleStream {
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn stdout(mut stream: Streaming<ZoneConsoleReply>) -> Result<()> {
|
||||
if stdin().is_tty() {
|
||||
pub async fn stdout(mut stream: Streaming<ZoneConsoleReply>, raw: bool) -> Result<()> {
|
||||
if raw && stdin().is_tty() {
|
||||
enable_raw_mode()?;
|
||||
StdioConsoleStream::register_terminal_restore_hook()?;
|
||||
}
|
||||
|
Reference in New Issue
Block a user