summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-06-09 11:51:06 +0200
committerClifford Wolf <clifford@clifford.at>2013-06-09 11:51:06 +0200
commit6f330f01322277670cd13506d3fff18b5beefe9e (patch)
tree1fa9c249baa2229a0a9891dff8f311cbfc62e466
parente52c9aff1bda85f87764cf16570c511b9e705b71 (diff)
Set rl_basic_word_break_characters in shell
-rw-r--r--kernel/driver.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index 1136dc67..886cb1f4 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -235,6 +235,7 @@ static void shell(RTLIL::Design *design)
rl_readline_name = "yosys";
rl_attempted_completion_function = readline_completion;
+ rl_basic_word_break_characters = " \t\n";
char *command = NULL;
while ((command = readline(create_prompt(design, recursion_counter))) != NULL)