Skip to content

Commit

Permalink
fix(rcarriga#189): Don't overlap messages with statusline
Browse files Browse the repository at this point in the history
  • Loading branch information
isak102 committed Jan 28, 2024
1 parent 80b67b2 commit c45c62d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/notify/stages/util.lua
Expand Up @@ -88,6 +88,7 @@ function M.get_slot_range(direction)
local top = vim.opt.tabline:get() == "" and 0 or 1
local bottom = vim.opt.lines:get()
- (vim.opt.cmdheight:get() + (vim.opt.laststatus:get() > 0 and 1 or 0))
- 1 -- does not overlap with statusline
local left = 1
local right = vim.opt.columns:get()
if M.DIRECTION.TOP_DOWN == direction then
Expand Down

0 comments on commit c45c62d

Please sign in to comment.