Skip to content

Commit

Permalink
Merge branch 'main' into optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithakannan2 committed Nov 17, 2024
2 parents a0752ae + fa69885 commit fae67e3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
16 changes: 9 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ members = ["tui", "core", "xtask"]
default-members = ["tui", "core"]
resolver = "2"

[patch.crates-io]
vt100 = { git = "https://github.com/ChrisTitusTech/vt100-rust" }

[profile.release]
opt-level = "z"
debug = false
Expand Down
3 changes: 2 additions & 1 deletion tui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ clap = { version = "4.5.20", features = ["derive", "std"], default-features = fa
oneshot = { version = "0.1.8", features = ["std"], default-features = false }
portable-pty = "0.8.1"
ratatui = { version = "0.29.0", features = ["crossterm"], default-features = false }
tui-term = "0.2.0"
tui-term = { version = "0.2.0", default-features = false }
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"], default-features = false }
unicode-width = { version = "0.2.0", default-features = false }
rand = { version = "0.8.5", optional = true }
linutil_core = { version = "24.10.31", path = "../core" }
tree-sitter-highlight = "0.24.4"
tree-sitter-bash = "0.23.3"
nix = { version = "0.29.0", features = [ "user" ] }
vt100-ctt = { git = "https://github.com/ChrisTitusTech/vt100-rust" }

[[bin]]
name = "linutil"
Expand Down
6 changes: 2 additions & 4 deletions tui/src/running_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ use std::{
thread::JoinHandle,
};
use time::{macros::format_description, OffsetDateTime};
use tui_term::{
vt100::{Parser, Screen},
widget::PseudoTerminal,
};
use tui_term::widget::PseudoTerminal;
use vt100_ctt::{Parser, Screen};

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

0 comments on commit fae67e3

Please sign in to comment.