diff --git a/lua/keymap.lua b/lua/keymap.lua index 0cfca1a..201c811 100644 --- a/lua/keymap.lua +++ b/lua/keymap.lua @@ -46,7 +46,7 @@ do -- 横屏→右侧(垂直分屏);竖屏→下方(水平分屏) direction = tall and 'horizontal' or 'vertical', cmd = cmd, - size = tall and 10 or math.floor(ui.width * 0.3), + size = tall and 10 or 40, }) term:toggle() end