Skip to content

Commit 273a474

Browse files
authored
fix(core): handle resizing a bit better for inline_tui (#34006)
## Current Behavior Resizing the TUI while in inline view kinda breaks things. Its unfortunate, I'm not sure there's a ton to be done, but this PR explores some solutions ## Expected Behavior The TUI is less sensitive to resize events with inline mode ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
1 parent f016664 commit 273a474

14 files changed

Lines changed: 594 additions & 197 deletions

File tree

Cargo.lock

Lines changed: 90 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nx/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ vt100-ctt = { git = "https://github.com/JamesHenry/vt100-rust", rev = "b15dc3b0f
6868
serde = "1.0.219"
6969
serde_json = "1.0.140"
7070
static_assertions = "1.1"
71+
wrap-ansi = "0.1"
7172

7273
[target.'cfg(windows)'.dependencies]
7374
winapi = { version = "0.3", features = ["fileapi", "psapi", "shellapi"] }

packages/nx/project.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
"echo": {
5757
"command": "echo hi"
5858
},
59+
"long-task": {
60+
"command": "node -e \"let i = 0; let interval = setInterval(() => { console.log('Long task running ' + i++ + '---------------------------------------------------------------'); }, 200); setTimeout(() => { clearInterval(interval); console.log('Long task finished'); }, 62_000);\"",
61+
"dependsOn": ["echo"]
62+
},
5963
"build": {
6064
"dependsOn": [
6165
"^build-client",

0 commit comments

Comments
 (0)