docs: example config
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
// "save_dir": "$HOME",
|
// "save_dir": "$HOME",
|
||||||
// Force use of docker cli when execing into containers, honestly mostly pointless
|
// Force use of docker cli when execing into containers, honestly mostly pointless
|
||||||
"use_cli": false,
|
"use_cli": false,
|
||||||
// Show the logs section - this can be changed during operation with the container_height_decrease / container_height_increase keys
|
// Show the logs section - this can be changed during operation with the log_section_toggle key
|
||||||
"show_logs": true,
|
"show_logs": true,
|
||||||
//////////////////
|
//////////////////
|
||||||
// Custom Keymap //
|
// Custom Keymap //
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ timestamp_format = "%Y-%m-%dT%H:%M:%S.%8f"
|
|||||||
# Force use of docker cli when execing into containers, honestly mostly pointless
|
# Force use of docker cli when execing into containers, honestly mostly pointless
|
||||||
use_cli = false
|
use_cli = false
|
||||||
|
|
||||||
# Show the logs section - this can be changed during operation with the container_height_decrease / container_height_increase keys
|
# Show the logs section - this can be changed during operation with the log_section_toggle key
|
||||||
show_logs = true
|
show_logs = true
|
||||||
|
|
||||||
#################
|
#################
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ timestamp_format = "%Y-%m-%dT%H:%M:%S.%8f"
|
|||||||
# Force use of docker cli when execing into containers, honestly mostly pointless
|
# Force use of docker cli when execing into containers, honestly mostly pointless
|
||||||
use_cli = false
|
use_cli = false
|
||||||
|
|
||||||
# Show the logs section - this can be changed during operation with the container_height_decrease / container_height_increase keys
|
# Show the logs section - this can be changed during operation with the log_section_toggle key
|
||||||
show_logs = true
|
show_logs = true
|
||||||
|
|
||||||
#################
|
#################
|
||||||
|
|||||||
+2
-1
@@ -244,7 +244,8 @@ impl GuiState {
|
|||||||
self.rerender.update();
|
self.rerender.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set the log_height to zero, used if show_logs=false in the config file
|
/// Set the log_height to zero, for now only used by tests
|
||||||
|
#[cfg(test)]
|
||||||
pub const fn log_height_zero(&mut self) {
|
pub const fn log_height_zero(&mut self) {
|
||||||
self.log_height = 0;
|
self.log_height = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user