mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Add spacing
This commit is contained in:
parent
a9a678fc11
commit
6c2aaf339f
|
@ -73,7 +73,7 @@ impl FloatContent for RunningCommand {
|
|||
|
||||
title_line.push_span(
|
||||
Span::default()
|
||||
.content(" press <ENTER> to close this window ")
|
||||
.content(" Press <ENTER> to close this window ")
|
||||
.style(Style::default()),
|
||||
);
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ use ratatui::{
|
|||
|
||||
const MIN_WIDTH: u16 = 77;
|
||||
const MIN_HEIGHT: u16 = 19;
|
||||
const TITLE: &str = concat!("Linux Toolbox - ", env!("BUILD_DATE"));
|
||||
const TITLE: &str = concat!(" Linux Toolbox - ", env!("BUILD_DATE"), " ");
|
||||
const ACTIONS_GUIDE: &str = "List of important tasks performed by commands' names:
|
||||
|
||||
D - disk modifications (ex. partitioning) (privileged)
|
||||
|
@ -694,5 +694,5 @@ fn get_random_tip() -> &'static str {
|
|||
|
||||
let mut rng = rand::thread_rng();
|
||||
let random_index = rng.gen_range(0..tips.len());
|
||||
tips[random_index]
|
||||
Box::leak(format!(" {} ", tips[random_index]).into_boxed_str())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user