tangled
alpha
login
or
join now
althaea.zone
/
wire
2
fork
atom
ALPHA: wire is a tool to deploy nixos systems
wire.althaea.zone/
2
fork
atom
overview
issues
pulls
pipelines
add a few more comments..
marshmallow
3 months ago
223608b4
d8d86205
+3
-1
1 changed file
expand all
collapse all
unified
split
wire
lib
src
commands
pty
output.rs
+3
-1
wire/lib/src/commands/pty/output.rs
···
74
74
match reader.read(&mut buffer) {
75
75
Ok(0) => break 'outer,
76
76
Ok(n) => {
77
77
+
// this block is responsible for outputting the "raw" data,
78
78
+
// mostly sudo prompts.
77
79
if !began {
78
80
let findings = handle_rawmode_data(
79
81
&mut stderr,
···
99
101
}
100
102
101
103
stderr
102
102
-
.write(b"\x07")
104
104
+
.write(b"\x07") // bell
103
105
.map_err(CommandError::WritingClientStderr)?;
104
106
stderr.flush().map_err(CommandError::WritingClientStderr)?;
105
107