updates for terminal emulator