What you actually mean when you say 'I work in the terminal' - the terminal emulator, the pseudo-terminal (TTY/pty), and the shell (bash, zsh, fish) as three independent layers cooperating through a kernel object, with line discipline and VT100 escape sequences in the middle.