We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19f5db4 commit 317e0a6Copy full SHA for 317e0a6
1 file changed
lib/msgfmt/message_box.go
@@ -28,7 +28,7 @@ func findGreaterThanMessageBox(lines []string) int {
28
func findGenericSlimMessageBox(lines []string) int {
29
for i := len(lines) - 3; i >= max(len(lines)-9, 0); i-- {
30
if strings.Contains(lines[i], "───────────────") &&
31
- (strings.Contains(lines[i+1], "|") || strings.Contains(lines[i+1], "│")) &&
+ (strings.Contains(lines[i+1], "|") || strings.Contains(lines[i+1], "│")) || strings.Contains(lines[i+1], "❯") &&
32
strings.Contains(lines[i+2], "───────────────") {
33
return i
34
}
0 commit comments