]> granicus.if.org Git - procps-ng/commit
top: enhanced 'scale_tics' function for Ctrl-E scaling
authorJim Warner <james.warner@comcast.net>
Sun, 6 Mar 2022 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Mon, 7 Mar 2022 09:29:06 +0000 (20:29 +1100)
commite4e7991a26f018271bcc98b9f6a768e671cc20ab
treedfb1389033b101dcfba124df32ef2a873a654886
parent81df85a1b528d4edb9ab98b37fb6c6244430b6c4
top: enhanced 'scale_tics' function for Ctrl-E scaling

When scale_tics was refactored and then Ctrl-E support
added to top, the complete range of scaling values was
not visible. Namely, a single 'd' (days) & 'w' (weeks)
was never seen with ^E. With this commit they will be.

Reference(s):
. Mar, 2022 - introduced ^E tics scaling
commit 402bf1903b25ac78b0c4cbf63d457feee78a391c
. Mar, 2022 - refactored scale_tics
commit 71eb90c1b27ef039ccc90f6060406099df45eade

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c