disable keyboard input while modifying code