Skip to content

Commit fbbc295

Browse files
Merge branch 'main' into optimization
2 parents a0752ae + fa69885 commit fbbc295

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

Cargo.lock

+9-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ members = ["tui", "core", "xtask"]
88
default-members = ["tui", "core"]
99
resolver = "2"
1010

11-
[patch.crates-io]
12-
vt100 = { git = "https://github.com/ChrisTitusTech/vt100-rust" }
13-
1411
[profile.release]
1512
opt-level = "z"
1613
debug = false

tui/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ clap = { version = "4.5.20", features = ["derive", "std"], default-features = fa
1818
oneshot = { version = "0.1.8", features = ["std"], default-features = false }
1919
portable-pty = "0.8.1"
2020
ratatui = { version = "0.29.0", features = ["crossterm"], default-features = false }
21-
tui-term = "0.2.0"
21+
tui-term = { version = "0.2.0", default-features = false }
2222
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"], default-features = false }
2323
unicode-width = { version = "0.2.0", default-features = false }
2424
rand = { version = "0.8.5", optional = true }
2525
linutil_core = { version = "24.10.31", path = "../core" }
2626
tree-sitter-highlight = "0.24.4"
2727
tree-sitter-bash = "0.23.3"
2828
nix = { version = "0.29.0", features = [ "user" ] }
29+
vt100-ctt = { git = "https://github.com/ChrisTitusTech/vt100-rust", rev = "b660c85faaa32323892c3154835c2bc901d7bf57" }
2930

3031
[[bin]]
3132
name = "linutil"

tui/src/running_command.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ use std::{
1717
thread::JoinHandle,
1818
};
1919
use time::{macros::format_description, OffsetDateTime};
20-
use tui_term::{
21-
vt100::{Parser, Screen},
22-
widget::PseudoTerminal,
23-
};
20+
use tui_term::widget::PseudoTerminal;
21+
use vt100_ctt::{Parser, Screen};
2422

2523
pub struct RunningCommand {
2624
/// A buffer to save all the command output (accumulates, until the command exits)

0 commit comments

Comments
 (0)