You can customize the keyboard config into the game's commands options. By looking at all of the commands, it becomes logical that the key for erasing is the same as the one for cancelling, which is designed as "X" as opposite to "OK".