Skip to content

Commit

Permalink
os: fix typo (fix #23267) (#23292)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-semenyuk authored Dec 27, 2024
1 parent 83742f9 commit 2ea6115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/os/os.v
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub fn input_opt(prompt string) ?string {
}

// input returns a one-line string from stdin, after printing a prompt.
// Returns `EOF` in case of an error (end of input).
// Returns `<EOF>` in case of an error (end of input).
pub fn input(prompt string) string {
res := input_opt(prompt) or { return '<EOF>' }
return res
Expand Down

0 comments on commit 2ea6115

Please sign in to comment.