forked from enlightenment/terminology
test: test escape code to get term name + version
obviously will have to change that on each new version…
This commit is contained in:
parent
9977b8a63b
commit
52ab21783a
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# fill space with E
|
||||||
|
printf '\033[69;1;1;25;80\044x'
|
||||||
|
|
||||||
|
#set color
|
||||||
|
printf '\033[46;31;3m'
|
||||||
|
|
||||||
|
# move
|
||||||
|
printf '\033[H'
|
||||||
|
|
||||||
|
# print terminal + version
|
||||||
|
printf '\033[>0q'
|
||||||
|
|
||||||
|
# let it print
|
||||||
|
sleep 0.2
|
||||||
|
|
||||||
|
# move
|
||||||
|
printf '\033[2H'
|
||||||
|
|
||||||
|
# print terminal + version
|
||||||
|
printf '\033[>q'
|
||||||
|
|
||||||
|
# let it print
|
||||||
|
sleep 0.2
|
|
@ -134,3 +134,4 @@ selection_box_in_history.sh 61b78306851097efcfd1b41b777f15c9
|
||||||
selection_box_scrolls_up.sh c0fc70e8d865236d66edc7ad13af4dbe
|
selection_box_scrolls_up.sh c0fc70e8d865236d66edc7ad13af4dbe
|
||||||
selection_scrolls_down.sh c0fc70e8d865236d66edc7ad13af4dbe
|
selection_scrolls_down.sh c0fc70e8d865236d66edc7ad13af4dbe
|
||||||
selection_box_scrolls_down.sh c0fc70e8d865236d66edc7ad13af4dbe
|
selection_box_scrolls_down.sh c0fc70e8d865236d66edc7ad13af4dbe
|
||||||
|
esc_term_name_version.sh 4498d5f9f7d827bcd46774063510c712
|
||||||
|
|
Loading…
Reference in New Issue