check for gui before setting showbreak