An example in LFortran when I press Ctrl-C:  It also happens with passphrase prompt (https://github.com/prefix-dev/shell/issues/41) or just `cat` (see below).