frame change when type Enter key