It depends on the level of emulation you're talking about. The pty uses the remote server's terminal driver, so options controlled by stty
(and the analogous system calls) will be emulated there.
But you're running an application that sends terminal control escape sequences, you'll need to handle that locally.