File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3872,6 +3872,7 @@ SELECT tbl_name FROM sqlite_master WHERE sql LIKE 'CREATE VIRTUAL TABLE%'
38723872 && verbosity == verbosity_t ::quiet && load_stdin
38733873 && lnav_data.ld_active_files .fc_file_names .size () == 1 )
38743874 {
3875+ log_info (" pager mode, waiting for input to be consumed" );
38753876 // give the pipers a chance to run to create the files to be
38763877 // scanned.
38773878 wait_for_pipers (ui_clock::now () + 10ms);
@@ -3883,15 +3884,19 @@ SELECT tbl_name FROM sqlite_master WHERE sql LIKE 'CREATE VIRTUAL TABLE%'
38833884 && lnav_data.ld_child_pollers .empty ()
38843885 && lnav_data.ld_active_files .active_pipers () == 0 )
38853886 {
3887+ log_info (" input fully consumed" );
38863888 rebuild_indexes_repeatedly ();
38873889 if (lnav_data.ld_active_files .fc_files .empty ()
38883890 || lnav_data.ld_active_files .fc_files [0 ]->size () < 24 )
38893891 {
3892+ log_info (" input is smaller than screen, not paging" );
38903893 lnav_data.ld_flags |= LNF_HEADLESS ;
38913894 verbosity = verbosity_t ::standard;
38923895 lnav_data.ld_views [LNV_LOG ].set_top (0_vl);
3893- lnav_data.ld_views [LNV_TEXT ].set_top (0_vl);
38943896 }
3897+ lnav_data.ld_views [LNV_TEXT ].set_top (0_vl);
3898+ } else {
3899+ log_info (" input not fully consumed" );
38953900 }
38963901 }
38973902
You can’t perform that action at this time.
0 commit comments