Add ability handle more than one character at a time #4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user