Skip to content
Commit f4bc91f1 authored by Martin Hostettler's avatar Martin Hostettler Committed by Kurt Hindenburg
Browse files

Match OSC reply sequence terminator to OSC request terminator.

Traditionally konsole only was able to parse OSC sequences terminated with
non-standard BEL. In 324d78c0 konsole was extended to parse sequences
terminated by 7-bit ST (ESC \) as well. But the OSC responses were still
hardcoded to reply only with sequences with BEL. But replying to 7-bit ST
terminated sequences with a reply terminated by a non-standard terminator
is wrong.

This commit passes the terminator along and changes the response to match
the original request.

printf "\033]10;?\a" replies with "^[]10;rgb:fcfc/fcfc/fcfc^G"
printf "\033]10;?\033\\" replies with "^[]10;rgb:fcfc/fcfc/fcfc^[\"
parent af65698b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment