Update cargo.toml, some todos
This commit is contained in:
parent
c6cefc2561
commit
8cf5b42f29
|
@ -4,10 +4,10 @@ version = "0.2.0"
|
|||
authors = ["Clement Tsang <cjhtsang@uwaterloo.ca>"]
|
||||
edition = "2018"
|
||||
repository = "https://github.com/ClementTsang/bottom"
|
||||
keywords = ["cli", "monitoring-tool", "top", "bottom", "graphical"]
|
||||
keywords = ["linux", "macos", "windows", "cli", "monitoring-tool", "top", "bottom", "graphical"]
|
||||
license = "MIT"
|
||||
categories = ["command-line-utilities"]
|
||||
description = "A graphical top clone, written in Rust. Inspired by both gtop and gotop."
|
||||
categories = ["command-line-utilities", "visualization"]
|
||||
description = "A graphical top clone, written in Rust. Inspired by both gtop and gotop. Supports Linux, macOS, and Windows."
|
||||
readme = "README.md"
|
||||
|
||||
[[bin]]
|
||||
|
|
|
@ -539,6 +539,8 @@ impl App {
|
|||
}
|
||||
} else if !self.is_in_dialog() {
|
||||
// Pop-out mode. We ignore if in process search.
|
||||
|
||||
// TODO: [FIX] This is a temporary workaround for scroll not being proper with expanded (and resizing overall).
|
||||
match self.current_widget_selected {
|
||||
WidgetPosition::Process => {
|
||||
self.app_scroll_positions
|
||||
|
|
|
@ -74,6 +74,7 @@ pub fn get_start_position(
|
|||
num_rows: u64, scroll_direction: &app::ScrollDirection, scroll_position_bar: &mut u64,
|
||||
currently_selected_position: u64,
|
||||
) -> u64 {
|
||||
// TODO: [FIX] Scroll does NOT work with expanded (and resizing overall).
|
||||
// if currently_selected_position >= *scroll_position_bar
|
||||
// && num_rows > (currently_selected_position - *scroll_position_bar + num_rows)
|
||||
// {
|
||||
|
|
Loading…
Reference in New Issue