zooming
This commit is contained in:
parent
bb8f6bedf6
commit
4a6c1020f4
10 changed files with 113 additions and 34 deletions
|
|
@ -7,7 +7,7 @@ use crate::tui::{
|
|||
input::{FieldMatcher, InputState, InputTarget},
|
||||
view::LogView,
|
||||
},
|
||||
model::{FieldsName, LogEntry, id},
|
||||
model::{LogEntry, SpanDescriptor, id},
|
||||
processing::Cursor,
|
||||
widgets::{fieldtree, last_error::LastError},
|
||||
};
|
||||
|
|
@ -54,7 +54,7 @@ impl LogViewer {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_selected_field(&self) -> Option<(FieldsName, String, String)> {
|
||||
pub fn get_selected_field(&self) -> Option<(SpanDescriptor, String, String)> {
|
||||
let (span_idx, name_idx) = self.field_state.get()?;
|
||||
let entry = self.selected().map(|(s, _)| s)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue