30 April 2014
Macのターミナルで月が...
満ちる。
ruby -e 'trap(:INT){print"\e[?25h\e[0;0H";exit(0)};x,y=[`tput lines`,`tput cols`].map{|n|n.to_i/2};print"\e[?25l";(0x1F311..0x1F315).cycle{|w|print"\e[2J\e[#{x};#{y}H",w.chr("utf-8");sleep(0.3)}'
参考記事:
blog comments powered by Disqus