fix: Allow direct 'p' shortcut for pcap import in Capture View
This commit is contained in:
BIN
inspector.exe
BIN
inspector.exe
Binary file not shown.
@@ -359,6 +359,12 @@ func (m *Model) handleViewKeys(msg tea.KeyMsg) tea.Cmd {
|
|||||||
}
|
}
|
||||||
case "d":
|
case "d":
|
||||||
m.disconnect()
|
m.disconnect()
|
||||||
|
case "p":
|
||||||
|
if !m.capturing {
|
||||||
|
m.fileBrowser = NewFileBrowser("", ".pcap")
|
||||||
|
m.subView = SubViewFileBrowser
|
||||||
|
return nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case ViewAnalysis:
|
case ViewAnalysis:
|
||||||
|
|||||||
Reference in New Issue
Block a user