support tab, enter and backspace