diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-08 22:41:22 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-08 22:41:22 +0200 |
| commit | 70073d81e1e384f827a2ab34c27723a2862bbb84 (patch) | |
| tree | 46cd3be55811575036a2f08e77500e35c6e304a0 /internal/tui/flamegraph/model.go | |
| parent | fd801e7e3ff07d44701eb2e53a3b0764b504983d (diff) | |
tui: reserve p for pid picker
Diffstat (limited to 'internal/tui/flamegraph/model.go')
| -rw-r--r-- | internal/tui/flamegraph/model.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/flamegraph/model.go b/internal/tui/flamegraph/model.go index 9c7bac5..6f5411b 100644 --- a/internal/tui/flamegraph/model.go +++ b/internal/tui/flamegraph/model.go @@ -937,7 +937,7 @@ func isNextMatchKey(msg tea.KeyPressMsg) bool { return keyString(msg) == "n" } func isPrevMatchKey(msg tea.KeyPressMsg) bool { return keyString(msg) == "N" } func isPauseKey(msg tea.KeyPressMsg) bool { k := keyString(msg) - return k == "p" || k == " " || k == "space" || msg.Code == tea.KeySpace + return k == " " || k == "space" || msg.Code == tea.KeySpace } func isResetBaselineKey(msg tea.KeyPressMsg) bool { return keyString(msg) == "r" |
