This commit is contained in:
2025-07-25 21:45:07 -04:00
parent f75c757b12
commit d77dd386f3
19 changed files with 2131 additions and 38 deletions

View File

@@ -55,6 +55,8 @@ class NavigationHandler:
max_items = self._get_total_display_items(flows_list)
self.selected_flow = max_items - 1
return 'selection_change'
elif key == ord('v') and self.current_view == 'main': # Visualize Chapter 10 signals
return 'visualize'
return 'none'
@@ -70,8 +72,21 @@ class NavigationHandler:
"""Get status bar text based on current view"""
if self.current_view == 'main':
timeline_status = "ON" if self.show_timeline else "OFF"
return f"[↑↓]navigate [PgUp/PgDn]scroll [t]imeline:{timeline_status} [d]issection [q]uit"
return f"[↑↓]navigate [PgUp/PgDn]scroll [t]imeline:{timeline_status} [v]isualize CH10 [d]issection [q]uit"
elif self.current_view == 'dissection':
return "[m]ain view [q]uit"
else:
return "[m]ain [d]issection [q]uit"
return "[m]ain [d]issection [q]uit"
def has_chapter10_data(self, flow: FlowStats) -> bool:
"""Check if a flow contains Chapter 10 data"""
# Check if any frame types in the flow are Chapter 10 related
for frame_type in flow.frame_types.keys():
if 'CH10' in frame_type.upper() or 'TMATS' in frame_type.upper():
return True
# Check detected protocol types
if 'CHAPTER10' in flow.detected_protocol_types or 'CH10' in flow.detected_protocol_types:
return True
return False