Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
narendasan committed Mar 27, 2018
1 parent 8b7e3ad commit 2b70dd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rtop"
version = "0.0.0"
version = "0.0.1"
authors = ["Naren Dasan <[email protected]>"]
description = "A system monitor implemented in Rust"
homepage = "https://github.com/narendasan/rtop"
Expand Down
6 changes: 3 additions & 3 deletions src/rtop/ui/renderer/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ pub fn render(t: &mut Terminal<MouseBackend>, app: &App, area: &Rect) -> Result<
.direction(Direction::Vertical)
.sizes(&[Size::Fixed(3), Size::Min(0)])
.render(t, area, |t, chunks| {
render_tab_bar(t, app, &chunks[0]);
//render_tab_bar(t, app, &chunks[0]);
match app.tabs.selection {
0 => {
draw_first_tab(t, app, &chunks[1]);
}
1 => {
draw_second_tab(t, app, &chunks[1]);
//draw_second_tab(t, app, &chunks[1]);
}
_ => {}
};
Expand All @@ -47,7 +47,7 @@ fn draw_first_tab(t: &mut Terminal<MouseBackend>, app: &App, area: &Rect) {
.render(t, area, |t, chunks| {
panels::charts::draw_charts(t, app, &chunks[0]);
panels::network::render_network_info(t, app, &chunks[1]);
panels::text::render_text(t, &chunks[2]);
//panels::text::render_text(t, &chunks[2]);
});
}

Expand Down

0 comments on commit 2b70dd5

Please sign in to comment.