Add next/previous key bindings to XenMon curses mode.

Signed-off-by: Diwaker Gupta <dgupta@cs.ucsd.edu>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-03-06 23:47:53 +01:00
1 parent bcdecd7942
commit 6dab2f670d
1 file changed
+6
+6
View File
@@ -452,6 +452,12 @@ def show_livestats():
if c == ord('c'):
cpu = (cpu + 1) % ncpu
# n/p = cycle to the next/previous CPU
if c == ord('n'):
cpu = (cpu + 1) % ncpu
if c == ord('p'):
cpu = (cpu - 1) % ncpu
stdscr.erase()
_c.nocbreak()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.