Use the new scheme format

This commit is contained in:
bjorn3
2024-07-11 21:09:53 +02:00
parent 1530c8fceb
commit 1e183ca4ba
+2 -2
View File
@@ -118,7 +118,7 @@ pub fn handle(
pub fn getpty(columns: u32, lines: u32) -> (RawFd, String) {
let master = redox::open(
"pty:",
"/scheme/pty",
flag::O_CLOEXEC | flag::O_RDWR | flag::O_CREAT | flag::O_NONBLOCK,
0,
)
@@ -235,7 +235,7 @@ pub fn main() {
let buf: String;
let vt_path = if vt.parse::<usize>().is_ok() {
buf = format!("fbcon:{vt}");
buf = format!("/scheme/fbcon/{vt}");
&*buf
} else {
vt