Bullet proofing for `capture_pane`
还没有人认领这个 Issue。
评估
调研方向
Start at the capture_pane() entry point and read the related discussion in issue #454, then compare the listed sentinel, polling, and shell-configuration ideas with the needs described here. Done requires an agreed, reliable approach and clearly defined behavior across shells and platforms.
由索引模型根据 Issue 内容生成。
描述
This is an existential issue for libtmux / tmuxp
I think it's going to take some thinking.
Ideas:
- sending a sentinel command made to figure out what the PS1 and shell is.
- building in support for polling
capture_pane()(similar to playwright / selenium) - finding "flake-free" / "rock-solid" loadouts for capturing pane text. Reliable enough to be used downstream in tests and across platforms
What we need:
- What are the user's needs when running
capture_pane()?- Is it just to boot up a daemon or process in the background?
- Do they need consistency and determinism in shell commands across systems, or do they want to use their own environment's shell / configuration and deal with the output inconsistency themselves?
- If they're willing to make any compromises: limiting their shell, using a barebones shell configuration in panes, or making it clear bringing your own shell / configuration may be hard to provide reliable results for
- 主要语言
- Python
- 星标
- 1.2k
- 派生
- 127
- 平均合并
- 2 小时 13 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tmux-python/libtmux 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
tmux-python/libtmux#759 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
tmux-python/libtmux#745 · 2 条评论 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
tmux-python/libtmux#744 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
tmux-python/libtmux#731 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
tmux-python/libtmux#654 ·
查看 tmux-python/libtmux 的全部 Issue
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
good first issue
难度 1/5 1 小时以内 新手友好度 90/100