git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change order of return values from getyx - fixes display of historical CPU.
[virt-top.git]
/
virt-top
/
virt_top.ml
diff --git
a/virt-top/virt_top.ml
b/virt-top/virt_top.ml
index
36b7e17
..
3990b55
100644
(file)
--- a/
virt-top/virt_top.ml
+++ b/
virt-top/virt_top.ml
@@
-1174,7
+1174,7
@@
let redraw =
(* Display historical CPU time. *)
let () =
- let
x, y = historical_cursor in (* Yes, it's a bug in ocaml-curses *)
+ let
y, x = historical_cursor in
let maxwidth = cols - x in
let line =
String.concat " "