docs: fix numerous typos
This commit is contained in:
@@ -816,7 +816,7 @@ impl Logs {
|
||||
}
|
||||
}
|
||||
|
||||
/// If scrolling horiztonally along the logs, display a counter of the position in the in the scroll, `x/y`
|
||||
/// If scrolling horizontally along the logs, display a counter of the position in the in the scroll, `x/y`
|
||||
pub fn get_scroll_title(&mut self, width: u16) -> Option<String> {
|
||||
if self.horizontal_scroll_able(width) {
|
||||
let text_width = self.adjust_max_width_text_len;
|
||||
@@ -909,7 +909,7 @@ impl Logs {
|
||||
self.lines.get_state_title()
|
||||
}
|
||||
|
||||
/// Return true it currently selected cotnainer logs are wide enough to horizontally scroll
|
||||
/// Return true it currently selected container logs are wide enough to horizontally scroll
|
||||
pub fn horizontal_scroll_able(&mut self, width: u16) -> bool {
|
||||
if self.lines.items.is_empty() {
|
||||
return false;
|
||||
|
||||
+1
-1
@@ -661,7 +661,7 @@ impl AppData {
|
||||
})
|
||||
}
|
||||
|
||||
/// If scrolling horiztonally along the logs, display a counter of the position in the in the scroll, `x/y`
|
||||
/// If scrolling horizontally along the logs, display a counter of the position in the in the scroll, `x/y`
|
||||
pub fn get_scroll_title(&mut self, width: u16) -> Option<String> {
|
||||
self.get_mut_selected_container()
|
||||
.and_then(|i| i.logs.get_scroll_title(width))
|
||||
|
||||
@@ -677,12 +677,12 @@ impl InputHandler {
|
||||
let contains_exec = contains(Status::Exec);
|
||||
let contains_filter = contains(Status::Filter);
|
||||
let contains_delete = contains(Status::DeleteConfirm);
|
||||
let containes_search_logs = contains(Status::SearchLogs);
|
||||
let contains_search_logs = contains(Status::SearchLogs);
|
||||
|
||||
if !contains_exec {
|
||||
let is_q = || key_code == self.keymap.quit.0 || Some(key_code) == self.keymap.quit.1;
|
||||
if key_modifier == KeyModifiers::CONTROL && key_code == KeyCode::Char('c')
|
||||
|| is_q() && !contains_filter && !containes_search_logs
|
||||
|| is_q() && !contains_filter && !contains_search_logs
|
||||
{
|
||||
// Always just quit on Ctrl + c/C or q/Q, unless in filter/search_logs mode, i.e. when user inmput can include the q key
|
||||
self.quit();
|
||||
@@ -694,7 +694,7 @@ impl InputHandler {
|
||||
self.handle_help(key_code);
|
||||
} else if contains_filter {
|
||||
self.handle_filter(key_code);
|
||||
} else if containes_search_logs {
|
||||
} else if contains_search_logs {
|
||||
self.handle_search_logs(key_code, key_modifier);
|
||||
} else if contains_delete {
|
||||
self.handle_delete(key_code).await;
|
||||
|
||||
@@ -117,7 +117,7 @@ impl HelpInfo {
|
||||
Line::from(vec![
|
||||
space(),
|
||||
button_item("ctrl"),
|
||||
button_desc("increase scroll speed, used in conjuction scroll keys"),
|
||||
button_desc("increase scroll speed, used in conjunction scroll keys"),
|
||||
]),
|
||||
Line::from(vec![
|
||||
space(),
|
||||
@@ -289,7 +289,7 @@ impl HelpInfo {
|
||||
Line::from(vec![
|
||||
space(),
|
||||
button_item(km.scroll_many.to_string().as_str()),
|
||||
button_desc("increase scroll speed, used in conjuction scroll keys"),
|
||||
button_desc("increase scroll speed, used in conjunction scroll keys"),
|
||||
]),
|
||||
Line::from(vec![
|
||||
space(),
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ expression: setup.terminal.backend()
|
||||
" │ ( tab ) or ( shift+tab ) change panels │ "
|
||||
" │ ( ↑ ↓ ) or ( j k ) or ( Home End ) scroll vertically │ "
|
||||
" │ ( ← → ) horizontal scroll across logs │ "
|
||||
" │ ( ctrl ) increase scroll speed, used in conjuction scroll keys │ "
|
||||
" │ ( ctrl ) increase scroll speed, used in conjunction scroll keys │ "
|
||||
" │ ( enter ) send docker container command │ "
|
||||
" │ ( e ) exec into a container │ "
|
||||
" │ ( f ) force clear the screen & redraw the gui │ "
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ expression: setup.terminal.backend()
|
||||
" │ ( tab ) or ( shift+tab ) change panels │ "
|
||||
" │ ( ↑ ↓ ) or ( j k ) or ( Home End ) scroll vertically │ "
|
||||
" │ ( ← → ) horizontal scroll across logs │ "
|
||||
" │ ( ctrl ) increase scroll speed, used in conjuction scroll keys │ "
|
||||
" │ ( ctrl ) increase scroll speed, used in conjunction scroll keys │ "
|
||||
" │ ( enter ) send docker container command │ "
|
||||
" │ ( e ) exec into a container │ "
|
||||
" │ ( f ) force clear the screen & redraw the gui │ "
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ expression: setup.terminal.backend()
|
||||
" │ ( q ) scroll list to start │ "
|
||||
" │ ( h ) horizontal scroll logs right │ "
|
||||
" │ ( g ) horizontal scroll logs left │ "
|
||||
" │ ( Alt ) increase scroll speed, used in conjuction scroll keys │ "
|
||||
" │ ( Alt ) increase scroll speed, used in conjunction scroll keys │ "
|
||||
" │ ( enter ) send docker container command │ "
|
||||
" │ ( d ) exec into a container │ "
|
||||
" │ ( f ) force clear the screen & redraw the gui │ "
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ expression: setup.terminal.backend()
|
||||
" │ ( p ) or ( P ) scroll list to start │ "
|
||||
" │ ( g ) or ( G ) horizontal scroll logs right │ "
|
||||
" │ ( f ) or ( F ) horizontal scroll logs left │ "
|
||||
" │ ( Alt ) increase scroll speed, used in conjuction scroll keys │ "
|
||||
" │ ( Alt ) increase scroll speed, used in conjunction scroll keys │ "
|
||||
" │ ( enter ) send docker container command │ "
|
||||
" │ ( d ) or ( D ) exec into a container │ "
|
||||
" │ ( f ) or ( F ) force clear the screen & redraw the gui │ "
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ expression: setup.terminal.backend()
|
||||
" │ ( q ) or ( Q ) scroll list to start │ "
|
||||
" │ ( h ) horizontal scroll logs right │ "
|
||||
" │ ( g ) or ( G ) horizontal scroll logs left │ "
|
||||
" │ ( Alt ) increase scroll speed, used in conjuction scroll keys │ "
|
||||
" │ ( Alt ) increase scroll speed, used in conjunction scroll keys │ "
|
||||
" │ ( enter ) send docker container command │ "
|
||||
" │ ( d ) exec into a container │ "
|
||||
" │ ( f ) force clear the screen & redraw the gui │ "
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ expression: setup.terminal.backend()
|
||||
" │ ( tab ) or ( shift+tab ) change panels │ "
|
||||
" │ ( ↑ ↓ ) or ( j k ) or ( Home End ) scroll vertically │ "
|
||||
" │ ( ← → ) horizontal scroll across logs │ "
|
||||
" │ ( ctrl ) increase scroll speed, used in conjuction scroll keys │ "
|
||||
" │ ( ctrl ) increase scroll speed, used in conjunction scroll keys │ "
|
||||
" │ ( enter ) send docker container command │ "
|
||||
" │ ( e ) exec into a container │ "
|
||||
" │ ( f ) force clear the screen & redraw the gui │ "
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ expression: setup.terminal.backend()
|
||||
"│ │ ( tab ) or ( shift+tab ) change panels │ │"
|
||||
"│ │ ( ↑ ↓ ) or ( j k ) or ( Home End ) scroll vertically │ │"
|
||||
"│ │ ( ← → ) horizontal scroll across logs │ │"
|
||||
"│ │ ( ctrl ) increase scroll speed, used in conjuction scroll keys │ │"
|
||||
"│ │ ( ctrl ) increase scroll speed, used in conjunction scroll keys │ │"
|
||||
"│ │ ( enter ) send docker container command │ │"
|
||||
"│ │ ( e ) exec into a container │ │"
|
||||
"│ │ ( f ) force clear the screen & redraw the gui │ │"
|
||||
|
||||
Reference in New Issue
Block a user