_h: print formattable values
This commit is contained in:
parent
0373ae50fe
commit
46aad4e2d6
|
@ -38,10 +38,10 @@ void _h_hexdump(Session &session, Range r, Selections sel)
|
|||
fmt::print(" ");
|
||||
}
|
||||
else if(is_selected(addr, sel)) {
|
||||
fmt::print(theme(13), "{:02x}", v.read_u8(addr));
|
||||
fmt::print(theme(13), "{:02x}", v.read_u8(addr).value);
|
||||
}
|
||||
else {
|
||||
fmt::print("{:02x}", v.read_u8(addr));
|
||||
fmt::print("{:02x}", v.read_u8(addr).value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue