1
0
mirror of https://github.com/danog/ytop.git synced 2024-11-26 20:15:03 +01:00
This commit is contained in:
Caleb Bassi 2019-07-27 19:34:56 -07:00
parent 2d419a91a0
commit 266e62c26d
9 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
pub struct BatteryWidget {
title: String,

View File

@ -4,7 +4,7 @@ use tui::layout::Rect;
use tui::style::{Color, Style};
use tui::widgets::{Axis, Chart, Dataset, Marker, Widget};
use crate::widgets::block;
use super::block;
pub struct CpuWidget {
title: String,

View File

@ -6,7 +6,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
struct Partition {
name: String,

View File

@ -3,7 +3,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::{Paragraph, Text, Widget};
use crate::widgets::block;
use super::block;
const TEXT: &str = r"Quit: q or <C-c>
Process navigation:

View File

@ -3,7 +3,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
pub struct MemWidget {
title: String,

View File

@ -3,7 +3,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
pub struct NetWidget {
title: String,

View File

@ -3,7 +3,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
pub struct ProcWidget {
title: String,

View File

@ -4,7 +4,7 @@ use tui::layout::Rect;
use tui::style::{Color, Style};
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
pub struct Statusbar {
hostname: String,

View File

@ -3,7 +3,7 @@ use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
use crate::widgets::block;
use super::block;
pub struct TempWidget {
title: String,