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