From 62238620a50566a1941dbb250f7b9ffc3174feae Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 24 Mar 2025 22:08:57 +0900 Subject: [PATCH] Fix first entry not clickable when input section is hidden Fix #4325 --- src/terminal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal.go b/src/terminal.go index 1b604828..0182d196 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -5867,7 +5867,7 @@ func (t *Terminal) Loop() error { if me.Down { mxCons := util.Constrain(mx-t.promptLen, 0, len(t.input)) - if t.inputWindow == nil && my == t.promptLine() && mxCons >= 0 { + if !t.inputless && t.inputWindow == nil && my == t.promptLine() && mxCons >= 0 { // Prompt t.cx = mxCons + t.xoffset } else if my >= min {