...
1## Change Foreground Color
2
3This command should enable a blue foreground color:
4
5```bash
6echo -ne "\033]10;#0000ff\007"
7```
8
9## Change Background Color
10
11This command should enable a green background color:
12
13```bash
14echo -ne "\033]11;#00ff00\007"
15```
16
17## Change Cursor Color
18
19This command should enable a red cursor color:
20
21```bash
22echo -ne "\033]12;#ff0000\007"
23```
24
25## Query Color Scheme
26
27These two commands should print out the currently active color scheme:
28
29```bash
30echo -ne "\033]10;?\033\\"
31echo -ne "\033]11;?\033\\"
32```
33
34## Query Cursor Position
35
36This command should print out the current cursor position:
37
38```bash
39echo -ne "\033[6n"
40```
41
42## Set Window Title
43
44This command should set the window title to "Test":
45
46```bash
47echo -ne "\033]2;Test\007" && sleep 10
48```
49
50## Bracketed paste
51
52Enter this command, then paste a word from the clipboard. The text
53displayed on the terminal should contain the codes `200~` and `201~`:
54
55```bash
56echo -ne "\033[?2004h" && sleep 10
57```
58
59## Trigger Notification
60
61This command should trigger a notification:
62
63```bash
64echo -ne "\033]777;notify;Title;Body\033\\"
65```
View as plain text