windowsize https://jisyu-seisaku.net/archives/870/windowsize