<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>utgwkk</author_name>
  <author_url>https://blog.hatena.ne.jp/utgwkk/</author_url>
  <blog_title>私が歌川です</blog_title>
  <blog_url>https://blog.utgw.net/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>marqueeというのは、こういう感じで、文字が横にスクロールしてめちゃくちゃ楽しいやつです。 ターミナルで使えるmarqueeの中で最も有名なものとしては、slコマンドが挙げられますが、SLしかmarqueeできないという問題があります。 文字列ならなんでもmarqueeしたい、と思っているので、いま実装を進めています。 このたび、1行の文字列をmarqueeさせることに成功しました。 ncursesの薄いラッパーを使いつつ、文字のオフセットは頑張って計算する、左にはみ出るのもうまくやる、といったことが行われています。 張り切ってRustで書きはじめたけど、Rust久しぶりに書いたしまだ入門…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2019%2F11%2F05%2F033557&quot; title=&quot;ターミナルでmarqueeしたい (1) - 私が歌川です&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>https://i.gyazo.com/f6a8e792c11c085a7132f84094c658e3.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-05 03:35:57</published>
  <title>ターミナルでmarqueeしたい (1)</title>
  <type>rich</type>
  <url>https://blog.utgw.net/entry/2019/11/05/033557</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
