<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shrkw</author_name>
  <author_url>https://blog.hatena.ne.jp/shrkw/</author_url>
  <blog_title>Bouldering &amp; Com.</blog_title>
  <blog_url>https://shrkw.hatenablog.com/</blog_url>
  <categories>
    <anon>Tech</anon>
  </categories>
  <description>標準ターミナルを開いていて、タッチパッドでスクロールして表示した履歴はそのままカーソルで範囲選択してコピーができるけど、tmuxを介した状態だとスクロールの操作をtmuxが仲介するため、結果としてカーソルで範囲選択ができない。範囲選択しようとすると即座に入力欄まで戻ってしまう。 これに困っていてiTerm2とかを使っていたけど、サプライチェーン攻撃リスクが嫌で標準ターミナルに移行して、結果、tmuxも使わなくなっていた。 だけどあらためてGeminiに相談してみたらあっさり解決してくれた。 以下を入れるとスクロール状態を維持したままで範囲選択できて、選択した時点でクリップボードにコピーできる。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshrkw.hatenablog.com%2Fentry%2F2026%2F06%2F15%2F221637&quot; title=&quot;macOSの標準ターミナル上でのtmuxでスクロールした状態での範囲選択からのコピーを実現する - Bouldering &amp;amp; Com.&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>2026-06-15 22:16:37</published>
  <title>macOSの標準ターミナル上でのtmuxでスクロールした状態での範囲選択からのコピーを実現する</title>
  <type>rich</type>
  <url>https://shrkw.hatenablog.com/entry/2026/06/15/221637</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
