So, I decided to give Alacritty a try, and in their default configuration there is the following comment:
#env: # TERM variable # # This value is used to set the `$TERM` environment variable for # each instance of Alacritty. If it is not present, alacritty will # check the local terminfo database and use `alacritty` if it is # available, otherwise `xterm-256color` is used. #TERM: alacritty
What I don't get it is: why would I want to set TERM to
xterm-256color when using alacritty? Isn't xterm the default terminal emulator for Linux? In the old OSX days I remember using iTerm2 but the variable TERM was set to
xterm-256color if I'm not mistake - back then I never thought the reason why that was the case.