on main help sign in
fix: commands height (#1954)
commit9604c92efbc0f6a97ac3dbcdc85fb7abf8967e99 authorKujtim Hoxha <kujtimii.h@gmail.com> dateFri 23 Jan 2026, 15:29 (9 months ago) parent1382753
1 file changed+1−2
internal/ui/dialog/commands.go+1−2
internal/ui/dialog/commands.go+1−2
@@ -258,8 +258,7 @@ func (c *Commands) Draw(scr uv.Screen, area uv.Rectangle) *tea.Cursor {
258258
259259 c.input.SetWidth(innerWidth - t.Dialog.InputPrompt.GetHorizontalFrameSize() - 1) // (1) cursor padding
260260
261− listHeight := min(height-heightOffset, c.list.Len())
262− c.list.SetSize(innerWidth, listHeight)
261+ c.list.SetSize(innerWidth, height-heightOffset)
263262 c.help.SetWidth(innerWidth)
264263
265264 rc := NewRenderContext(t, width)