From 7e1f9089eb48b8aebadf18c6d229fa666db965a2 Mon Sep 17 00:00:00 2001 From: Brandon Correa Date: Fri, 29 May 2026 19:20:28 -0400 Subject: [PATCH] Turn signal handling on in LineEditor --- llvm/lib/LineEditor/LineEditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/LineEditor/LineEditor.cpp b/llvm/lib/LineEditor/LineEditor.cpp index c7d5fd7dcf8ac5..3e4004313acf27 100644 --- a/llvm/lib/LineEditor/LineEditor.cpp +++ b/llvm/lib/LineEditor/LineEditor.cpp @@ -209,6 +209,7 @@ LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, ::el_set(Data->EL, EL_PROMPT, ElGetPromptFn); ::el_set(Data->EL, EL_EDITOR, "emacs"); + ::el_set(Data->EL, EL_SIGNAL, 1); ::el_set(Data->EL, EL_HIST, history, Data->Hist); ::el_set(Data->EL, EL_ADDFN, "tab_complete", "Tab completion function", ElCompletionFn);