diff options
author | rabite <rabite@posteo.de> | 2019-03-09 23:40:13 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-03-09 23:40:13 +0100 |
commit | 9ef59ba0501f7d29edc42c6861ff259ab1914b37 (patch) | |
tree | 3b13077b1d02f7ff11d95a95ba6cf8f84b136fe9 /src/preview.rs | |
parent | 67e1616efbaaf85d4990a3c89760324d48be7084 (diff) |
scrolling and following proc output
Diffstat (limited to 'src/preview.rs')
-rw-r--r-- | src/preview.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/preview.rs b/src/preview.rs index be99b31..f10928c 100644 --- a/src/preview.rs +++ b/src/preview.rs @@ -406,7 +406,9 @@ impl Previewer { let mut textview = TextView { lines: output.lines().map(|s| s.to_string()).collect(), buffer: String::new(), - core: core.clone()}; + core: core.clone(), + follow: false, + offset: 0}; textview.set_coordinates(&core.coordinates).log(); textview.refresh().log(); textview.animate_slide_up().log(); |