summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/ui/window.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/ui/window.lua b/xmake/core/ui/window.lua
index 821bf565d..69d3d342d 100644
--- a/xmake/core/ui/window.lua
+++ b/xmake/core/ui/window.lua
@@ -142,6 +142,11 @@ end
-- set border
function window:border_set(border)
+ -- FIXME cannot draw 'hline' and 'vline' correctly on pdcurses
+ -- so we disable border now
+ if os.host() == "windows" then
+ return
+ end
if not self._BORDER and border then
self:frame():bounds():grow(-1, -1)
elseif self._BORDER and not border then