mirror of
https://github.com/nushell/nushell.git
synced 2025-03-25 05:57:18 +01:00
reduce log tracing in nu-cli (#13067)
This one trace message creates thousands of lines of trace messages that is probably better suited to using on an *as needed* basis rather than everyone having to wade through it... For now, I just commented it out but eventually this line of code should be removed and used simply for the time when someone needs to see it...
This commit is contained in:
parent
a3bc85bb5f
commit
78fdb2f4d1
@ -1,6 +1,5 @@
|
||||
use crate::{menus::NuMenuCompleter, NuHelpCompleter};
|
||||
use crossterm::event::{KeyCode, KeyModifiers};
|
||||
use log::trace;
|
||||
use nu_ansi_term::Style;
|
||||
use nu_color_config::{color_record_to_nustyle, lookup_ansi_color_style};
|
||||
use nu_engine::eval_block;
|
||||
@ -80,7 +79,7 @@ pub(crate) fn add_menus(
|
||||
stack: &Stack,
|
||||
config: &Config,
|
||||
) -> Result<Reedline, ShellError> {
|
||||
trace!("add_menus: config: {:#?}", &config);
|
||||
//log::trace!("add_menus: config: {:#?}", &config);
|
||||
line_editor = line_editor.clear_menus();
|
||||
|
||||
for menu in &config.menus {
|
||||
|
Loading…
Reference in New Issue
Block a user