@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user