about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-29 17:57:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-29 17:57:13 -0700
commitbd345189bdb964346d8f8a9bdaa5c44695b868c9 (patch)
treeeb3c051c87cfe628a48f379dcccf00c9f4586066
parent8e9124f214f7f752056d27c79faed0163178f51e (diff)
downloadmu-bd345189bdb964346d8f8a9bdaa5c44695b868c9.tar.gz
2105
-rw-r--r--075scenario_console.cc2
-rw-r--r--edit.mu4
2 files changed, 3 insertions, 3 deletions
diff --git a/075scenario_console.cc b/075scenario_console.cc
index a96a5cd6..7e144962 100644
--- a/075scenario_console.cc
+++ b/075scenario_console.cc
@@ -150,7 +150,7 @@ void initialize_key_names() {
   Key["tab"] = TB_KEY_TAB;
   Key["ctrl-i"] = TB_KEY_CTRL_I;
   Key["ctrl-j"] = TB_KEY_CTRL_J;
-  Key["newline"] = TB_KEY_NEWLINE;
+  Key["enter"] = TB_KEY_NEWLINE;  // ignore CR/LF distinction; there is only 'enter'
   Key["ctrl-k"] = TB_KEY_CTRL_K;
   Key["ctrl-l"] = TB_KEY_CTRL_L;
   Key["ctrl-m"] = TB_KEY_CTRL_M;
diff --git a/edit.mu b/edit.mu
index 0b5f2ba6..bf6f18f3 100644
--- a/edit.mu
+++ b/edit.mu
@@ -1389,7 +1389,7 @@ scenario editor-clears-previous-line-completely-after-inserting-newline [
   1:address:array:character <- new [abcde]
   2:address:editor-data <- new-editor 1:address:array:character, screen:address, 0/left, 5/right
   assume-console [
-    press newline
+    press enter
   ]
   screen-should-contain [
     .          .
@@ -1445,7 +1445,7 @@ ef]
   assume-console [
     left-click 2, 8
     press 65507  # start paste
-    press newline
+    press enter
     press 65506  # end paste
   ]
   run [