diff --git a/example_config/example.config.jsonc b/example_config/example.config.jsonc index eb7f163..230e982 100644 --- a/example_config/example.config.jsonc +++ b/example_config/example.config.jsonc @@ -29,7 +29,7 @@ // "save_dir": "$HOME", // Force use of docker cli when execing into containers, honestly mostly pointless "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, ////////////////// // Custom Keymap // diff --git a/example_config/example.config.toml b/example_config/example.config.toml index 86753aa..3c71386 100644 --- a/example_config/example.config.toml +++ b/example_config/example.config.toml @@ -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 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 ################# diff --git a/src/config/config.toml b/src/config/config.toml index 9ccba74..457064a 100644 --- a/src/config/config.toml +++ b/src/config/config.toml @@ -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 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 ################# diff --git a/src/ui/gui_state.rs b/src/ui/gui_state.rs index 0d9cec6..7e77732 100644 --- a/src/ui/gui_state.rs +++ b/src/ui/gui_state.rs @@ -244,7 +244,8 @@ impl GuiState { 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) { self.log_height = 0; }