detached 9f5f195

interactive: blank line above sliding-in chips, drop redundant trailer

When the user types while a turn is in flight the queued messages
render as "sliding in:" chips above the status bar. Previously
they sat flush against the streaming chat content above. Prepend
a single blank row so the chips have air on top.

The trailer blank inside the queue slice is removed because the
bottom-region assembly already inserts a blank above statusLines;
keeping it doubled the gap below the chips.
commit
9f5f1959a7fadfe43d048002fdf4cf11a449f885
author
patriceckhart · · 2026-04-28 13:49 UTC
parent
d3a4767
signature
unsigned
refs
tag: v0.1.39
1 file · +1 -1
M internal/agent/modes/interactive.go +1 -1
@@ -837,12 +837,12 @@ func (i *Interactive) redraw() {
837837 // to the editor but don't push the chat around.
838838 var queue []string
839839 if len(i.queued) > 0 {
840+ queue = append(queue, "")
840841 for _, q := range i.queued {
841842 label := i.cfg.Theme.FG256(i.cfg.Theme.Accent, " sliding in: ")
842843 text := truncateLine(q, cols-17)
843844 queue = append(queue, label+i.cfg.Theme.FG256(i.cfg.Theme.Muted, text))
844845 }
845- queue = append(queue, "")
846846 }
847847
848848 // Bottom-sticky sections (always visible, never scroll). One
@@ -837,12 +837,12 @@ func (i *Interactive) redraw() {
837 // to the editor but don't push the chat around.837 // to the editor but don't push the chat around.
838 var queue []string838 var queue []string
839 if len(i.queued) > 0 {839 if len(i.queued) > 0 {
840+ queue = append(queue, "")
840 for _, q := range i.queued {841 for _, q := range i.queued {
841 label := i.cfg.Theme.FG256(i.cfg.Theme.Accent, " sliding in: ")842 label := i.cfg.Theme.FG256(i.cfg.Theme.Accent, " sliding in: ")
842 text := truncateLine(q, cols-17)843 text := truncateLine(q, cols-17)
843 queue = append(queue, label+i.cfg.Theme.FG256(i.cfg.Theme.Muted, text))844 queue = append(queue, label+i.cfg.Theme.FG256(i.cfg.Theme.Muted, text))
844 }845 }
845- queue = append(queue, "")
846 }846 }
847 847
848 // Bottom-sticky sections (always visible, never scroll). One848 // Bottom-sticky sections (always visible, never scroll). One

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 476

↑↓ moveenter openesc close