diff --git a/interactive.c b/interactive.c index c8c8f7b..13207d3 100644 --- a/interactive.c +++ b/interactive.c @@ -540,6 +540,11 @@ int start_interactive(uint64_t start) set_fields_width(64); paint_screen(); break; + case '~': + unpaint_screen(); + val = ~val & MASK(g_width); + paint_screen(); + break; default: if (view == BINARY_VIEW) process_binary(ch);