Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
use `CONIN$` instead of `/dev/tty` on windows
✗ CI failure justarandomgeek committed 2 months ago
commit 2641b7b6cec207790e4f7baf86391e0cc7f8d8d5
parent e9245b630d728672d2b3d6ff9265fa4f1a86f13a
3 failed (3 total) View logs
1 file changed +5 -0
modified crates/radicle-term/src/editor.rs
@@ -162,6 +162,11 @@ impl Editor {
                .write(true)
                .open("/dev/tty")?;
            process::Stdio::from(tty)
+
        } else if cfg!(windows) {
+
            let tty = fs::OpenOptions::new()
+
                .read(true)
+
                .open("CONIN$")?;
+
            process::Stdio::from(tty)
        } else {
            return Err(io::Error::new(
                io::ErrorKind::Unsupported,