parent
1adb483649
commit
fc1dc11edf
|
@ -231,6 +231,14 @@ class Hex(mode.Fundamental):
|
||||||
GotoAddress, HexSetByteOrder, HexToggleSymbolic,
|
GotoAddress, HexSetByteOrder, HexToggleSymbolic,
|
||||||
HexOverwriteCharSpace, HexOverwriteCharTab,
|
HexOverwriteCharSpace, HexOverwriteCharTab,
|
||||||
HexOverwriteCharNewline, HexGotoBeginning, HexGotoEnd]
|
HexOverwriteCharNewline, HexGotoBeginning, HexGotoEnd]
|
||||||
|
|
||||||
|
header = 1
|
||||||
|
header_size = 1
|
||||||
|
def get_header(self):
|
||||||
|
s = ' 87654321 00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff' \
|
||||||
|
'%*s0123456789abcdef ' % (self.window.width - 48, '')
|
||||||
|
return [RenderString(s=s, attrs=color.build('red', 'default'))]
|
||||||
|
|
||||||
def __init__(self, w):
|
def __init__(self, w):
|
||||||
mode.Fundamental.__init__(self, w)
|
mode.Fundamental.__init__(self, w)
|
||||||
self.bindings = {}
|
self.bindings = {}
|
||||||
|
|
Loading…
Reference in New Issue