To get a fully interactive shell, background the session (CTRL+ Z) and run the following in your terminal which tells your terminal to pass keyboard shortcuts to the shell. Once that is done, run the command “fg” to bring netcat back to the foreground.
stty raw -echo
Adds the ability to clear the screen on our upgraded shell