Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Color Coding

heretek uses the Ayu color theme throughout its interface. Colors have semantic meaning — they tell you what type of memory a value points to at a glance.

Memory Region Colors

ColorHexMeaning
Green#aad94cHeap memory
Purple#d2a6ffStack memory
Red#ff3333Code / text segment
Yellow#e6b450ASCII strings
Orange#ff8f40Assembly instructions

These colors appear in:

  • Register values and dereference chains
  • Stack entry values
  • The color legend in the title bar

UI Element Colors

ColorUsed for
Blue (#59c2ff)Table headers, input field (editing mode), output panel title
Purple (#d2a6ff)Register names, stack addresses, instruction addresses
Orange (#ff8f40)Panel titles, register annotations on stack, selected rows
Green (#aad94c)Current instruction highlight, current source line, active tab
Red (#ff3333)Changed registers (values that changed since last stop)
Yellow (#e6b450)Popup titles (quit confirmation, hexdump save)

Hexdump Byte Colors

The hexdump view uses a different color scheme for individual bytes:

ColorByte type
Dark grayNull bytes (0x00)
BluePrintable ASCII (graphic characters)
GreenASCII whitespace (space, tab, newline)
OrangeASCII control characters
YellowNon-ASCII bytes (>= 0x80)

Disabling Colors

Set the NO_COLOR environment variable to disable all TUI colors:

$ NO_COLOR=1 heretek