fix(terminal): change repo name
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Rust Browser Terminal Development Guide
|
||||
|
||||
本指南用于在 `base-path-demo` 中实现一套 Rust 终端能力:
|
||||
本指南用于在 `rustui-playground` 中实现一套 Rust 终端能力:
|
||||
|
||||
- 后端:Axum + `portable-pty` 创建真实伪终端,负责启动 shell、读写 PTY、处理 resize。
|
||||
- 前端:Rust/WASM + Leptos 实现浏览器终端组件,负责输入、渲染、滚屏、选区和终端状态。
|
||||
@@ -27,7 +27,7 @@ Shell process: bash/zsh/fish/vim/top
|
||||
建议分四层沉淀。
|
||||
|
||||
```text
|
||||
base-path-demo/
|
||||
rustui-playground/
|
||||
app/
|
||||
src/
|
||||
pages/terminal.rs
|
||||
@@ -63,7 +63,7 @@ crates/
|
||||
|
||||
当前 workspace 已有 `axum = "0.8"`,但 WebSocket 模块需要启用 `ws` feature。
|
||||
|
||||
建议先调整 `base-path-demo/Cargo.toml`:
|
||||
建议先调整 `rustui-playground/Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[workspace.dependencies]
|
||||
@@ -501,7 +501,7 @@ MVP 安全策略:
|
||||
- 从消息类型抽出 `terminal-protocol`。
|
||||
- 从 server module 抽出 `terminal-pty-server`。
|
||||
|
||||
验收:`base-path-demo` 只依赖这些 crates,不再持有核心实现。
|
||||
验收:`rustui-playground` 只依赖这些 crates,不再持有核心实现。
|
||||
|
||||
### M5: 自研 parser/buffer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user