summaryrefslogtreecommitdiff
path: root/sample/cbreak.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/cbreak.rb')
-rw-r--r--sample/cbreak.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/cbreak.rb b/sample/cbreak.rb
index 4b4cb1d..5befd50 100644
--- a/sample/cbreak.rb
+++ b/sample/cbreak.rb
@@ -27,8 +27,8 @@ def set_cbreak (on)
end
cbreak();
-print("this is echo line: ");
+print("this is no-echo line: ");
readline().print
cooked();
-print("this is non echo line: ");
-readline().print
+print("this is echo line: ");
+readline()