Skip to content

Commit

Permalink
Allow additions to second line of prompt (91-98)
Browse files Browse the repository at this point in the history
  • Loading branch information
davepwsmith committed May 31, 2018
1 parent d5817dc commit 2464653
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions powerline_core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,13 @@ end
---
-- Closes the prompts with a new line and the lamb symbol
---
function closePrompt()
clink.prompt.value = clink.prompt.value..newLineSymbol..plc_prompt_lambSymbol.." "
function newLinePrompt()
clink.prompt.value = clink.prompt.value..newLineSymbol
end

function closePrompt()
clink.prompt.value = clink.prompt.value..plc_prompt_lambSymbol.." "
end
---
-- Gets the .git directory
-- copied from clink.lua
Expand Down Expand Up @@ -254,4 +257,5 @@ end

-- Register filters for resetting the prompt and closing it before and after all addons
clink.prompt.register_filter(resetPrompt, 51)
clink.prompt.register_filter(newLinePrompt,90)
clink.prompt.register_filter(closePrompt, 99)

0 comments on commit 2464653

Please sign in to comment.