Skip to content

Commit

Permalink
Fix #51; error in flexprompt configure when not in Windows Terminal.
Browse files Browse the repository at this point in the history
(Wow, the bug has existed for 28 months.)
  • Loading branch information
chrisant996 committed Jan 12, 2024
1 parent d92c604 commit 5b2676a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flexprompt_wizard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ local function config_wizard()
if clink.getansihost then
local term = clink.getansihost()
if term ~= "clink" and term ~= "winterminal" then
preview.symbols = preview.symbols or {}
preview.symbols.prompt = { ">", winterminal="" }
end
end
Expand Down

0 comments on commit 5b2676a

Please sign in to comment.