docs: example config

This commit is contained in:
Jack Wills
2025-06-17 22:08:50 +00:00
parent 9cc9f466f8
commit b8cdea9759
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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 //
+1 -1
View File
@@ -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
################# #################
+1 -1
View File
@@ -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
View File
@@ -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;
} }