summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2022-09-29 12:26:59 -0500
committerSean E. Russell <ser@ser1.net>2022-09-29 12:26:59 -0500
commit7a06ff5fa7bebedbeb17c1756e0c078e34d7707e (patch)
tree2b78e13000fdaec6558555ae8bd8d95585075f68 /cmd
parent8f2739c12bdc0e5bc5179c13d98afe9f2c078b5d (diff)
parent987183d7f65cc696bbdb3aacd529ae251a5d66e0 (diff)
Merge branch 'feat-sort-procs-cmd' of https://github.com/Kqzz/gotop
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotop/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go
index f43bab2..9735056 100644
--- a/cmd/gotop/main.go
+++ b/cmd/gotop/main.go
@@ -353,7 +353,7 @@ func eventLoop(c gotop.Config, grid *layout.MyGrid) {
grid.Proc.ToggleShowingGroupedProcs()
ui.Render(grid.Proc)
}
- case "m", "c", "p":
+ case "m", "c", "n", "p":
if grid.Proc != nil {
grid.Proc.ChangeProcSortMethod(w.ProcSortMethod(e.ID))
ui.Render(grid.Proc)