Skip to content

[P2] PS1 \[ \] markers render literally in some paths (inretio theme; bash-it themes leak <=4 fragments) #431

Closed

Description

@caomengxuan666

wt91/allthemes F9: PS1 [..] ignore-markers render as literal text in certain theme paths (inretio; bash-it themes leak up to 4 fragments). wt70's fix covered the terminal-write channel for the piped -i driver; the leak persists in other render paths (likely the raw-PS1 pass-through or the right-prompt channel). Find the remaining consumers that emit markers unstripped.

Activity

  1. added
    P2-medium
    on Oct 9, 2026
  2. caomengxuan666 commented on Oct 12, 2026

    @caomengxuan666
    MemberAuthor

    清偿代理回执(fix/legacy-505-431-433 → #571):

    引擎侧残余已清:bind -v/-V 48 变量 GNU 全表、set NAME VALUE 双通道(bind 参数 + inputrc 文件,GNU 同文诊断与静默归一)、inputrc $if term=/mode= 条件与 $else/$endif/$include、initialize_readline 每进程一次读 $INPUTRC/~/.inputrc(bind.def:131,-c 下首个 bind 即生效)、错误通道分流(positional 走 readline: 且不影响 rc;-x 保持 bind: rc=1;非引号非 set 静默忽略)。

    reedline 上游清单(需宿主编辑器接行为,已固化在 bind_builtins.rs 模块文档):-p/-P/-l 全表、多键序列、变量表在编辑器内的行为落点。

    回归:tests/issue431_readline_surface_regressions.rs 18/18(全部 WSL GNU 5.3.0 探针钉定)。

  3. added 3 commits that reference this issue on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions