Skip to content

Commit 804977c

Browse files
seblyngravitemer
andauthored
fix: custom border chars (#252)
Co-authored-by: ravitemer <80028678+ravitemer@users.noreply.github.com>
1 parent 01b2b04 commit 804977c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/mcphub/utils/ui.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,7 @@ function M.confirm(message, opts)
368368

369369
-- Enhanced window options with better styling
370370
win_opts.style = "minimal"
371-
win_opts.border = vim.o.winborder ~= "" and vim.o.winborder
372-
or { "", "", "", "", "", "", "", "" }
371+
win_opts.border = vim.o.winborder == "" and { "", "", "", "", "", "", "", "" } or nil
373372
win_opts.title_pos = "center"
374373
win_opts.title = {
375374
{ " MCPHUB Confirmation ", Text.highlights.header_btn },

0 commit comments

Comments
 (0)