This commit is contained in:
Alexander Heldt
2025-11-16 17:45:28 +01:00
parent 417b5a2559
commit 64ec278767
4 changed files with 39 additions and 15 deletions

View File

@@ -10,6 +10,6 @@ pub type NotUsed
@external(erlang, "shell", "start_interactive")
pub fn shell_start_interactive(options: #(atom.Atom, atom.Atom)) -> NotUsed
// https://www.erlang.org/doc/apps/stdlib/io.html#get_line/1
// https://www.erlang.org/doc/apps/stdlib/io.html#get_chars/2
@external(erlang, "io", "get_chars")
fn io_get_chars(prompt: String, count: Int) -> String