Skip to content

v0.5.29

Choose a tag to compare

@oxdingzg oxdingzg released this 03 Dec 00:52
37dccc4

miao v0.5.29

简体中文

v0.5.29 ships the crossterm#1030 Windows bracketed-paste patch in the
packaged miao CLI binary so multi-line pastes keep their boundaries under
Windows ConPTY.

Windows bracketed paste in miao-cli

  • Carried the pinned [patch.crates-io] crossterm override
    (crossterm-rs/crossterm#1030) from crates/miao-tui/Cargo.toml into
    crates/miao-cli/Cargo.toml and refreshed crates/miao-cli/Cargo.lock.
  • Because Cargo ignores [patch] sections inside path dependencies, the
    packaged miao binary previously linked unpatched crossterm 0.29.0 and
    never enabled ENABLE_VIRTUAL_TERMINAL_INPUT on Windows, allowing ConPTY to
    strip \x1b[200~...\x1b[201~ markers and turn pasted newlines into Enter.
  • With the patch active in the shipped binary, miao receives standard
    bracketed pastes directly on Windows ConPTY without needing terminal-side
    Ctrl+V workarounds.