]> cloud.milkyroute.net Git - dolphin.git/commit
terminal: Clear line using escapes instead of SIGINT
authorJohn Brooks <john@fastquake.com>
Sat, 3 Sep 2022 22:22:15 +0000 (18:22 -0400)
committerMéven Car <meven.car@kdemail.net>
Sun, 2 Oct 2022 07:14:23 +0000 (07:14 +0000)
commit3656da18b094299c1f58245052af0f429857a6e4
tree54d74c1d5e0604bc695b9786b8dd41c1b382c1c1
parent2f171f570e59cfd8888f070aa372b02d331c9462
terminal: Clear line using escapes instead of SIGINT

Sending SIGINT can be destructive, for example if we interrupt the
loading of the shell init files (e.g. .bashrc) and clobber history
preservation settings. Follow the example of Kate and send a Ctrl-E
Ctrl-U to clear the prompt instead.

BUG: 279614
Signed-off-by: John Brooks <john@fastquake.com>
src/panels/terminal/terminalpanel.cpp