Many fixes in UI; Help command

This commit is contained in:
ChristianVisintin
2020-11-29 17:46:56 +01:00
parent 28435aaeda
commit cd35dac4a5
3 changed files with 237 additions and 102 deletions

View File

@@ -170,7 +170,7 @@ impl std::fmt::Display for FsEntry {
let datetime: String = time_to_str(dir.last_change_time, "%b %d %Y %M:%H");
write!(
f,
"{:24}\t{:12}\t{:16}\t{:16}\t{:8}\t{:17}",
"{:24}\t{:12}\t{:12}\t{:12}\t{:9}\t{:17}",
dir.name.as_str(),
mode,
username,
@@ -259,7 +259,7 @@ impl std::fmt::Display for FsEntry {
let datetime: String = time_to_str(file.last_change_time, "%b %d %Y %M:%H");
write!(
f,
"{:24}\t{:12}\t{:16}\t{:16}\t{:8}\t{:17}",
"{:24}\t{:12}\t{:12}\t{:12}\t{:9}\t{:17}",
file.name.as_str(),
mode,
username,
@@ -352,7 +352,7 @@ impl std::fmt::Display for FsEntry {
let datetime: String = time_to_str(dir.last_change_time, "%b %d %Y %M:%H");
write!(
f,
"{:24}\t{:12}\t{:16}\t{:16}\t{:8}\t{:17}",
"{:24}\t{:12}\t{:12}\t{:12}\t{:9}\t{:17}",
dir.name.as_str(),
mode,
username,
@@ -435,7 +435,7 @@ impl std::fmt::Display for FsEntry {
let datetime: String = time_to_str(file.last_change_time, "%b %d %Y %M:%H");
write!(
f,
"{:24}\t{:12}\t{:16}\t{:16}\t{:8}\t{:17}",
"{:24}\t{:12}\t{:12}\t{:12}\t{:9}\t{:17}",
file.name.as_str(),
mode,
username,