mirror-llvm-project/llvm/lib/LineEditor
Brandon Correa be1b1a7773
Turn signal handling on in LineEditor (#203616)
This PR was created to address
https://github.com/jank-lang/jank/issues/801.

Without signal handling, `CLRL+C` / `CTRL+Z` leaves the terminal in an
awkward state, breaking other command line tasks and forcing the user to
open a new/clean terminal window.

cc: @jeaye 

### Edit

#### AI

Per the contribution policies and review practices, AI was used to
locate the root cause of the issue I was seeing. From there, I
personally wrote the code and manually tested the build to verify that
the change fixed the problem I was seeing.

#### Testing

Since there were no pre-existing unit tests for this module, no
additional unit tests were added for this PR. I validated the existing
build/tests locally and validated the change propagated through
manually.
2026-07-15 21:26:57 +03:00
..
CMakeLists.txt
LineEditor.cpp