<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kureduki_Maari</author_name>
  <author_url>https://blog.hatena.ne.jp/Kureduki_Maari/</author_url>
  <blog_title>c4se記：さっちゃんですよ☆</blog_title>
  <blog_url>https://c4se.hatenablog.com/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>Ruby</anon>
  </categories>
  <description>エスケープシーケンスは覚えられない。 def wait sec = 60 str_len = sec.to_s.length sec.times do |i| print &quot;%#{str_len}d&quot; % (sec - i) sleep 1 print &quot;\033[2K\033[#{str_len}D&quot; end end \033[2Kで、カーソルの行をクリアする。\033[%dDでカーソルを左に移動する。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2015%2F03%2F02%2F002412&quot; title=&quot;Rubyのコンソールでカウントダウンしながら待つ - c4se記：さっちゃんですよ☆&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-03-02 00:24:12</published>
  <title>Rubyのコンソールでカウントダウンしながら待つ</title>
  <type>rich</type>
  <url>https://c4se.hatenablog.com/entry/2015/03/02/002412</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
