CodeEditApp / CodeEditApp/CodeEdit

🐞 Strange things happens if you open another file

未关闭
#1,430 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug needs refinement terminal
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

### Description

I have noticed that when I open multiple files, the terminal gives weird output.

```sh
# At the start of the CE.
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ·························· ✔  09:38:52 PM  ─╮
╰─
# After opening another file in the repo
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ·························· ✔  09:38:52 PM  ─
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ························ ✔  09:38:52 PM
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ··················· ✔  09:38:52 PM 
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ················ ✔  09:38:52 P
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ········· ✔  09:38:5
╭─    ~/Dev/Projects/Rust-TodoApp    main ⇡2 ····· ✔  09:38:52 PM 
╭─    ~/Developer/Projects/Rust-TodoApp    main ⇡2 ·························· ✔  09:38:52 PM  ─╮
╰─

```
I haven't used the terminal in Code Editor or the main terminal for this repository before.

### To Reproduce

1. Open a folder in CE
2. Open a file
3. open another file
4. see terminal

### Expected Behavior

It's important to note that this issue does not occur every time.

### Version Information

CodeEdit: 0.0.3-alpha (36)
macOS: 14 RC2
Xcode: 15RC

### Additional Context

_No response_

### Screenshots

_No response_

贡献指南

打开贡献指南

调研方向

在报告中所列的 macOS 和 CodeEdit 版本上重现列出的文件夹和文件打开步骤后,从 CodeEdit 的终端开始。观察打开另一个文件是否会导致终端提示符输出重复或被截断,并利用这种间歇性行为缩小所涉及的终端入口点范围。完成的标准是打开多个文件不再产生格式错误的重复输出。

由索引模型根据 Issue 内容生成。

评估

技术栈
swift
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。