Hello,

I am trying to replicate in FISH what I can do in BASH with the below command:

read -p $'\e[18t' -s -r -d t size; printf "%s\n" "${size#*;}"

That command gives me the terminal's height and width.

I can do 'print "\e[18t]' but it puts the result in my prompt rather than returning it to STDOUT like I expect.

Is there any way to do this in FISH?

Thank you.


_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to