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