Skip to content
Commit 3656da18 authored by John Brooks's avatar John Brooks 💬 Committed by Méven Car
Browse files

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: default avatarJohn Brooks <john@fastquake.com>
parent 2f171f57
Pipeline #239912 passed with stage
in 3 minutes and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment