Use guard clause with `term.beep`