mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
vt100 patches (#743)
Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com>
This commit is contained in:
parent
d5c05c94bb
commit
3c4a5dcecd
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -1235,8 +1235,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|||
[[package]]
|
||||
name = "vt100"
|
||||
version = "0.15.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "84cd863bf0db7e392ba3bd04994be3473491b31e66340672af5d11943c6274de"
|
||||
source = "git+https://github.com/ChrisTitusTech/vt100-rust#e41fb3d8fb5fd01dd2d076c9a25823a31656012f"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"log",
|
||||
|
|
|
@ -9,6 +9,9 @@ ego-tree = "0.6.2"
|
|||
members = ["tui", "core"]
|
||||
resolver = "2"
|
||||
|
||||
[patch.crates-io]
|
||||
vt100 = { git = "https://github.com/ChrisTitusTech/vt100-rust" }
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
debug = false
|
||||
|
|
|
@ -258,7 +258,7 @@ impl RunningCommand {
|
|||
let buffer = mutex.as_ref().unwrap();
|
||||
parser.process(buffer);
|
||||
// Adjust the screen content based on the scroll offset
|
||||
parser.set_scrollback(self.scroll_offset);
|
||||
parser.screen_mut().set_scrollback(self.scroll_offset);
|
||||
parser.screen().clone()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user