Repository navigation
Fix five bugs: model picker, Ctrl+W tokens, // in strings, /status memory, OSC in output - #101
Merged
Merged
Conversation
…mory, OSC in output
- /model picker: match the exact model id first, so Opus 5 no longer
highlights Opus 5.5 (prefix match hit the earlier entry).
- Ctrl+W: delete a [pasted #N] or [image #N] token as one unit
instead of leaving a broken half token in the prompt.
- Code highlighting: a // inside a string literal ("https://...") is
no longer coloured as the start of a comment.
- /status Memory row: expand the "~/..." folder before walking it, so
the project's CLAUDE.md files are listed again.
- strip(): remove OSC escape sequences (hyperlinks, titles) whole,
so hook/command/task output no longer shows "8;;https://...".
Tests for each fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This was referenced Nov 30, 2026
Merged
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.
Closes #96
Closes #97
Closes #98
Closes #99
Closes #100
Five small bug fixes, each with a test:
modelpicker).ww()keeps Ctrl+W's space-separated word rule, but takes a[pasted #N …]/[image #N]token as one unit (viatokend, like Ctrl+Backspace).cmt_at()finds//only outside string literals (handles \" escapes).memory_filesexpands a leading~before walking ancestors; split intomemory_files_in(cwd, home, cfg)for the test.ESC \\.Checked locally:
cargo fmt --check, clippy-D warnings(no-default + all-features, Linux and x86_64-pc-windows-gnu),cargo doc,cargo test(123 tests, 5 new).🤖 Generated with Claude Code