Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ivy: fix ivy--resize-minibuffer-to-fit for small delta #339
Very small size increments can be necessary if the initial candidate
Very small size increments can be necessary if the initial candidate list is short (e.g. 3 items) and line-height is set to something other than zero. In that case, only half of the last line is initially visible. ivy--resize-minibuffer-to-fit recognizes this and tries to enlarge the window up the the exact pixel height required, however window-resize doesn't do anything if the delta is below frame-char-height.