BEL terminates OSC response

This commit is contained in:
Autumn Lamonte 2022-02-02 10:08:26 -06:00
parent c3b8b7cb59
commit 937d475421

View file

@ -3230,6 +3230,12 @@ public class ECMA48Terminal extends LogicalScreen
resetParser();
return;
}
if (ch == 0x07) {
// This is BEL, end of the line.
oscResponse(oscResponse.toString());
resetParser();
return;
}
// Continue collecting until we see ST.
oscResponse.append(ch);