Terminal: ignore Flatpak's CPR
Alpine 3.24 Success

This commit is contained in:
p
2026-09-06 20:39:20 +02:00
parent fb4dd8ff5f
commit f5f67e71c7
+6
View File
@@ -256,6 +256,12 @@ func (tw *terminalWriter) processParsedCSI(
case final == 'm':
// Straight up ignoring all attributes, at least for now.
return true
case final == 'n':
// Report Cursor Position (CPR) cannot be answered, filter it out.
// This is because setting FLATPAK_FANCY_OUTPUT=0 spams the terminal.
if len(params) == 1 && params[0] == 6 {
return true
}
}
return false
}