<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ousttrue</author_name>
  <author_url>https://blog.hatena.ne.jp/ousttrue/</author_url>
  <blog_title>三次元日誌</blog_title>
  <blog_url>https://ousttrue.hatenadiary.org/</blog_url>
  <categories>
    <anon>cui</anon>
    <anon>node.js</anon>
  </categories>
  <description>x端末などの大きさを変えると、SIGWINCHが飛んでくる。 変わった後のLINESとCOLSの取得は、terminfoでなくてioctlでできる。http://www.a-k-r.org/ruby-terminfo/rdoc/classes/TermInfo.src/M000029.html前回作ったtermutilにも実装してみた。 var TERMUTIL=require('termutil'); var term=new TERMUTIL.Term(); process.on('SIGWINCH', function(){ console.log(term.size()+&quot;\r&quot;); …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fousttrue.hatenadiary.org%2Fentry%2F20101205%2F1291527667&quot; title=&quot;termのLINESとCOLSとSIGWINCH - 三次元日誌&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>2010-12-05 14:41:07</published>
  <title>termのLINESとCOLSとSIGWINCH</title>
  <type>rich</type>
  <url>https://ousttrue.hatenadiary.org/entry/20101205/1291527667</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
