OpenSSL reverse sshell

How to upgrade OpenSSL reverse shell for full functional shell? I have zsh and oh-my-zsh and stty raw -echo; fg works good with other shells (bash, python, php, perl …), but when I do the same with OpenSSL shell, output like stairs, it is so annoying and unworkable.