Skip to content

Commit f2b8266

Browse files
committed
chore: update stale comments
1 parent 8d21572 commit f2b8266

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/msgfmt/message_box.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ func removeOpencodeMessageBox(msg string) string {
6868
// ┃ ┃
6969
// ┃ > ┃
7070
// ┃ ┃
71-
// We only check for the first ┃ and then an empty line above it as sometimes the full block load within a snapshot this leads to ..
71+
// We only check for the first ┃ and then an empty line above it - as sometimes the full input block does not load within a snapshot,
72+
// this leads to displaying a bunch of newlines.
7273
for i := len(lines) - 1; i >= 1; i-- {
7374
if strings.TrimSpace(lines[i-1]) == "" &&
7475
strings.ReplaceAll(lines[i], " ", "") == "┃┃" {

0 commit comments

Comments
 (0)