I used Term :: ShellUI and almost everything works as expected, but the problem is when I pressed Ctrl-C, I want to print:
Use ctrl + d to exit the shell
To do this, I process the signal, but the message is printed only after I pressed a new line. How to solve this problem?
source
share