Skip to content

Commit

Permalink
Merge pull request #114 from ddddddO/all_dump_for_monitor
Browse files Browse the repository at this point in the history
view all packet dump
  • Loading branch information
ddddddO authored Feb 22, 2025
2 parents e708be1 + 7d9a4b6 commit b75f37e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/tui/view_hexadecimal_dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type HexadecimalDump struct {
func (h *HexadecimalDump) rows() int {
// TODO: データ量でよしなに決めたい
// あと、スクロールなにか指定しないといけない?最後までスクロールできてないみたい
return 100
return 200
}

func (*HexadecimalDump) columns() int {
Expand Down Expand Up @@ -110,6 +110,9 @@ func (h *HexadecimalDump) viewTable() *tview.Table {
viewHexadecimalDump(table, loopForL7View, "HTTP", h.HTTPResponse.Bytes())
}

loopForAll := 1 + loopForL7View
viewHexadecimalDump(table, loopForAll, "ALL", h.EthernetFrame.Bytes())

return table
}

Expand Down

0 comments on commit b75f37e

Please sign in to comment.