<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Debugging - 标签 - William</title>
    <link>https://williamlfang.github.io/tags/debugging/</link>
    <description>Debugging - 标签 | William</description>
    <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Thu, 03 Dec 2026 17:01:00 &#43;0800</lastBuildDate><atom:link href="https://williamlfang.github.io/tags/debugging/" rel="self" type="application/rss+xml" /><item>
  <title>Alacritty stopped accepting keyboard input on X11 due to a wedged fcitx XIM context</title>
  <link>https://williamlfang.github.io/2026-12-03-alacritty-fcitx-xim-keyboard-freeze/</link>
  <pubDate>Thu, 03 Dec 2026 17:01:00 &#43;0800</pubDate>
  <author>william</author>
  <guid>https://williamlfang.github.io/2026-12-03-alacritty-fcitx-xim-keyboard-freeze/</guid>
  <description><![CDATA[<p>One of my Alacritty windows on Linux Mint (X11/Cinnamon) suddenly stopped accepting keyboard input while holding an active tmux and SSH session. Other Alacritty windows on the same desktop kept working normally.</p>
<p>The terminal itself was not frozen: the tmux status clock kept ticking, the SSH connection stayed alive, and Alacritty&rsquo;s IPC socket answered immediately. <strong>A wedged <code>fcitx</code> XIM context for that single window was swallowing every X11 <code>KeyPress</code> before it reached Alacritty&rsquo;s keyboard handler.</strong> Restarting <code>fcitx</code> (<code>fcitx -r -d</code>) recovered the window in place without closing it, and launching Alacritty with <code>XMODIFIERS=@im=none</code> prevents the freeze from coming back.</p>]]></description>
</item>
<item>
  <title>Neovim froze in Insert mode waiting for tmux list-panes</title>
  <link>https://williamlfang.github.io/2026-11-25-nvim-insert-mode-cmp-tmux/</link>
  <pubDate>Wed, 25 Nov 2026 15:32:59 &#43;0800</pubDate>
  <author>william</author>
  <guid>https://williamlfang.github.io/2026-11-25-nvim-insert-mode-cmp-tmux/</guid>
  <description><![CDATA[<div class="featured-image"><img loading="eager" src="https://williamlfang.github.io/2026-11-25-nvim-insert-mode-cmp-tmux/featured-image.png" alt="Neovim froze in Insert mode waiting for tmux list-panes" title="Neovim froze in Insert mode waiting for tmux list-panes" referrerpolicy="no-referrer"/></div><p>On a remote machine, Neovim stopped responding when I entered Insert mode inside tmux. I was running Neovim 0.10.2 with LazyVim, <code>nvim-cmp</code>, and <code>cmp-tmux</code>, which suggests words from other tmux panes.</p>
<p>The frozen editor was waiting for <code>tmux list-panes</code>. <strong>Removing just <code>cmp-tmux</code> fixed the freeze.</strong> The other completion sources stayed enabled.</p>]]></description>
</item>
</channel>
</rss>
