Can't use VSCode integrated terminal while on Team Viewer
Apparently there is a known bug with Team Viewer's Keyboard mapping on Linux, read more here. This is a Team Viewer error only and can be fixed by using another Remote Access software, I am using Chrome Remote Desktop (as suggested by user206904) though performance is not great.