Skip to content

Commit 8b15d16

Browse files
committed
fix packet index ptr
1 parent 3c88be1 commit 8b15d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oryx-tui/src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ impl App {
612612
} else if app_packets.len() > window_size {
613613
let selected_packet_index = self.packets_table_state.selected().unwrap();
614614
self.packet_index = Some(
615-
fuzzy.packet_end_index.saturating_sub(window_size) + selected_packet_index,
615+
self.packet_end_index.saturating_sub(window_size) + selected_packet_index,
616616
);
617617
&app_packets
618618
[self.packet_end_index.saturating_sub(window_size)..self.packet_end_index]

0 commit comments

Comments
 (0)