feat: prompt_prefix option (#154)

* enable prompt_prefix option

* add hl and default value

* default hl and prefix

* fixup: move the redraw til after prompt create

* fixup: nits

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
This commit is contained in:
Alvaro Muñoz
2020-10-08 19:34:59 +02:00
committed by GitHub
parent 25ed3de0ff
commit 6af6b4e5fd
3 changed files with 17 additions and 12 deletions

View File

@@ -46,6 +46,8 @@ function config.set_defaults(defaults)
set("results_height", 1)
set("results_width", 0.8)
set("prompt_prefix", " > ")
set("border", {})
set("borderchars", { '', '', '', '', '', '', '', ''})