D
D
Dark Hole2017-05-21 14:33:33
Programming
Dark Hole, 2017-05-21 14:33:33

What is the ESC sequence ESC + ]?

The very essence of the question is stated in the title.
The fact is that I was looking for the ability to control the color of the cursor in the terminal, and I found the following code: At first I thought that these were the usual ANSI escape sequences that I knew well, but they begin with ESC + [ . Google did not give anything, so I ask the question, what kind of sequences are these? PS No, this is not a feature of printf, you can achieve the same with a regular echo.
printf "%d" "\e]12;green\a"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
longclaps, 2017-05-21
@abyrkov

tyts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question