summaryrefslogtreecommitdiff
path: root/internal/tui/flamegraph/model.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-08 22:41:22 +0200
committerPaul Buetow <paul@buetow.org>2026-03-08 22:41:22 +0200
commit70073d81e1e384f827a2ab34c27723a2862bbb84 (patch)
tree46cd3be55811575036a2f08e77500e35c6e304a0 /internal/tui/flamegraph/model.go
parentfd801e7e3ff07d44701eb2e53a3b0764b504983d (diff)
tui: reserve p for pid picker
Diffstat (limited to 'internal/tui/flamegraph/model.go')
-rw-r--r--internal/tui/flamegraph/model.go2
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"