Readline interface: Difference between revisions
m
→{{header|Ruby}}: added comment
m (→{{header|Ruby}}: added comment) |
|||
Line 497:
Readline.completion_proc = commands.abbrev.to_proc
while buf = Readline.readline(">", true) # true means: keep history.
exit if buf.strip == "quit"
p buf
|