Repository navigation
Reload the terminal after NMSh writes host files (Kitty, Ghostty 1.3+) - #527
Draft
raiseCatError wants to merge 1 commit into
Draft
raiseCatError wants to merge 1 commit into
raiseCatError wants to merge 1 commit into
Conversation
…y, blur, shaders and /cursor apply at once Kitty gets its documented SIGUSR1 and Ghostty 1.3+ its SIGUSR2, only when the process is a verified parent of NMSh; older Ghostty, tmux and unverified cases keep the manual reload instruction. A successful Ghostty reload clears the reload-pending record. Kitty windows that opened fully opaque need one restart for transparency (observed on 0.49.2); NMSh says so. The hub warns that blur shows only below 100% opacity. Nothing is signalled under the test runner.
This was referenced Oct 28, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #526. After NMSh rewrites one of its own host files, it asks the terminal it runs in to reload, so opacity, blur, shaders and
/cursorchanges show at once.KITTY_PIDwhen that process is a verified parent of NMSh (this already existed for Kitty shaders; now also for/appearanceand/cursor)./appearancehub warns that blur shows only below 100% opacity.Physical QA in a disposable Kitty 0.49.2 (private config):
The Ghostty reload was tested in an isolated Ghostty 1.3.1 with SIGUSR2 (0.6 → 1.0 → 0.4, including from an opaque start). The NMSh-driven Ghostty flow was not run physically, because it would write the user's real Ghostty config.
Tests: new
tests/hostReload.test.ts. 163 related focused tests pass, and tsc is clean.