Description
Feature Request
Is your feature request related to a problem? Please describe.
No, not related to a problem.
Describe the solution you'd like
Allow specifying more exit codes as "success" for the purpose of rendering the character style.
When a process is suspended using ^Z key combo the shell receives an exit code of 148, this comes from adding the SIGTSTP (20) to 128 (see https://www.gnu.org/software/libc/manual/html_node/Job-Control-Signals.html#index-SIGTSTP and https://tldp.org/LDP/abs/html/exitcodes.html for detailed information). I'd like to render the character module as a success in those cases. As this is just a personal preference I'd opt for adding a new configuration option that anyone can use to customize this aspect and add whatever exit codes should be regarded as a success by the character module.
Describe alternatives you've considered
status
module, but it's way more than just success/failure indicator like character
.
Activity