Set rl_basic_word_break_characters in shell
authorClifford Wolf <clifford@clifford.at>
Sun, 9 Jun 2013 09:51:06 +0000 (11:51 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 9 Jun 2013 09:51:06 +0000 (11:51 +0200)
kernel/driver.cc

index 1136dc67852a5a66343e58b50566ed345e573457..886cb1f4a06ff96ad2d9ab1f6b1b023a2f140d0a 100644 (file)
@@ -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)