summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sample/cbreak.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/cbreak.rb b/sample/cbreak.rb
index c224684..7f1385c 100644
--- a/sample/cbreak.rb
+++ b/sample/cbreak.rb
@@ -30,7 +30,7 @@ end
cbreak();
print("this is no-echo line: ");
-readline().print
+readline().display
cooked();
print("this is echo line: ");
readline()