mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mirb termination command renamed to quit
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ main(void)
|
||||
|
||||
last_code_line[char_index] = '\0';
|
||||
|
||||
if (strcmp(last_code_line, "exit") == 0) {
|
||||
if (strcmp(last_code_line, "quit") == 0) {
|
||||
if (code_block_open) {
|
||||
/* cancel the current block and reset */
|
||||
code_block_open = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user