change prompt color to magenta
parent
6bd0256917
commit
6e5996e26f
|
@ -252,7 +252,11 @@ function parse(cmd::String; for_completions=false)
|
||||||
word_groups = group_words(words)
|
word_groups = group_words(words)
|
||||||
# create statements
|
# create statements
|
||||||
if for_completions
|
if for_completions
|
||||||
return _statement(word_groups[end])
|
if length(word_groups) > 0
|
||||||
|
return _statement(word_groups[end])
|
||||||
|
else
|
||||||
|
return []
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return map(Statement, word_groups)
|
return map(Statement, word_groups)
|
||||||
end
|
end
|
||||||
|
@ -712,7 +716,7 @@ end
|
||||||
# Set up the repl Pkg REPLMode
|
# Set up the repl Pkg REPLMode
|
||||||
function create_mode(repl, main)
|
function create_mode(repl, main)
|
||||||
matrix_mode = LineEdit.Prompt(promptf;
|
matrix_mode = LineEdit.Prompt(promptf;
|
||||||
prompt_prefix = Base.text_colors[:blue],
|
prompt_prefix = Base.text_colors[:magenta],
|
||||||
prompt_suffix = "",
|
prompt_suffix = "",
|
||||||
complete = MatrixCompletionProvider(),
|
complete = MatrixCompletionProvider(),
|
||||||
sticky = true)
|
sticky = true)
|
||||||
|
|
Loading…
Reference in New Issue