在 Ubuntu 下不小心拉到視窗大小 (拉動的時候不會顯示長寬),所以想要土法煉鋼找指令列出視窗寬度:
tput cols
出自 StackOverflow 的「How do I find the width & height of a terminal window?」。
幹壞事是進步最大的原動力
在 Ubuntu 下不小心拉到視窗大小 (拉動的時候不會顯示長寬),所以想要土法煉鋼找指令列出視窗寬度:
tput cols
出自 StackOverflow 的「How do I find the width & height of a terminal window?」。