Repository navigation
Releases
Releases · akazwz/bash-autosuggest
v0.2.0
Full Changelog: v0.1.1...v0.2.0
v0.1.1
What's Changed in v0.1.1
Bug Fixes & Improvements
- Accurate UTF-8 / CJK / ANSI prompt column width: Removed private Readline internal symbol
_rl_last_c_posand switched to 100% public GNU Readline APIs (rl_display_prompt/rl_prompt) with a pure-Rust column-width calculator that handles multi-line prompts,\x01..\x02invisible markers, raw ANSI CSI/OSC escapes, CJK/Emoji widths, and terminal line wrapping. - Re-entrancy crash protection: Switched all Readline callbacks to fallible
try_borrow/try_borrow_mut, eliminating any risk of signal-handler re-entry panics aborting the host Bash shell. - Vi mode & keybinding isolation: Separated original binding fallbacks per keymap (
emacs_standard_keymapvsvi_insertion_keymap), excluded\e\e[Cfrom Vi insert mode, suppressed ghost text invi_movement_keymap, and preserved existing user macros (ISMACR) and prefix sub-keymaps (ISKMAP). - Rapid word-accept consistency: Consumed accepted prefixes immediately in
Alt+→/Alt+fso rapid repeated presses never duplicate words even if Readline defers redisplay. - Hardened
install.sh: Switched to same-directory staging + atomicrename(2)(avoidingSIGBUSon running Bash shells across filesystems), enforced strictSHA256SUMSverification, and preserved~/.bashrcsymlinks and permissions during--uninstall. - Expanded PTY E2E coverage: Added live Bash tests for narrow CJK truncation, rapid double
Alt+f,set -o vimode, andBASH_AUTOSUGGEST_STYLE.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: https://github.com/akazwz/bash-autosuggest/commits/v0.1.0