Skip to content

Commit d49ea90

Browse files
35C4n0rjohnstcn
andauthored
Update lib/msgfmt/msgfmt.go
Co-authored-by: Cian Johnston <[email protected]>
1 parent 12fe8d1 commit d49ea90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/msgfmt/msgfmt.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ func findUserInputEndIdx(userInputStartIdx int, msg []rune, userInput []rune) in
142142

143143
// skipTrailingInputBoxLine skips the next line if it contains any of the markers.
144144
// In case of Gemini and Cursor, the user input is echoed back in a box
145-
// This function searches for the markers passed by the caller and skips the next line if it contains all of them.
145+
// This function searches for the markers passed by the caller and skips the next line
146+
// if it contains all of them in the same order.
146147
func skipTrailingInputBoxLine(lines []string, lastUserInputLineIdx *int, markers ...string) {
147148
if *lastUserInputLineIdx+1 >= len(lines) {
148149
return

0 commit comments

Comments
 (0)