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))
|
||||
|
||||
Reference in New Issue
Block a user