Skip to content

Commit

Permalink
Update OSC 4 description to match xtermjs#3036
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekzachcial committed Nov 8, 2020
1 parent 77ed5ba commit 6535995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/InputHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2735,8 +2735,8 @@ export class InputHandler extends Disposable implements IInputHandler {
/**
* OSC 4; <num> ; <text> ST (set ANSI color <num> to <text>)
*
* @vt: #Y OSC 4 "Set ANSI color" "OSC 4 ; Ps ; Pt BEL" "Set ANSI color `Ps` to `Pt`."
* `Ps` is the color index between 0 and 255. `Pt` color format is 'rgb:rr/gg/bb' where r, g, b are hexadecimal digits.
* @vt: #Y OSC 4 "Set ANSI color" "OSC 4 ; c ; spec BEL" "Change color number `c` to the color specified by `spec`."
* `c` is the color index between 0 and 255. `spec` color format is 'rgb:rr/gg/bb' where r, g, b are hexadecimal digits.
*/
public setAnsiColor(data: string): void {
const event = this.parseAnsiColorChange(data);
Expand Down

0 comments on commit 6535995

Please sign in to comment.