Commit graph

12 commits

Author SHA1 Message Date
b7e48cca05 fix(sig): incorrect handling of C-\
Closes #197
2025-05-02 12:22:04 +02:00
a8c3473b1a fix(norm): khais -> kcolin in headers
Closes #184
2025-04-30 11:29:20 +02:00
f1a0af09f8 feat(here_doc): handle signals (^C, ^\) correctly
This is a bit of a big commit, because I had to move some stuff to other files,
sorry about that. I can split it up if it's too big to review.
2025-04-17 12:06:48 +02:00
73d691c0b4 parsing: refactor group_or_simple_parse into group_cmd_parse.c 2025-04-16 13:08:50 +02:00
ceee5f99d4
signal: SIGQUIT prints ^\ to the terminal, and does not redisplay the prompt 2025-04-15 15:10:40 +02:00
10e8738336
signal: handle redisplaying the prompt correctly 2025-04-15 15:10:40 +02:00
3a309062d8
refactor(signal): remove unneded function
excve already resets signal handling to the default
2025-04-15 15:09:39 +02:00
67b2347df9
signal: keep waiting for process to exit on SIGQUIT
the SA_RESTART flag causes syscalls such as waitpid to be resumed after a signal
is handled, which is what we want.
2025-04-15 15:08:06 +02:00
Jérôme Guélen
d26d883a91 Signal: Added comments for better documentation. 2025-02-24 13:04:36 +01:00
Jérôme Guélen
776ce85255 Signal: basic signal handling. Correction. 2025-02-24 13:04:36 +01:00
Jérôme Guélen
83d88681a2 Signal: A basic version for the capture of signals. 2025-02-24 13:04:36 +01:00
Jérôme Guélen
837abc8361 sig: Starting to deal with signals 2025-02-24 13:04:36 +01:00