Skip to content

Don't output \r on SIGINT#13

Open
zr40 wants to merge 1 commit intohan:masterfrom
zr40:master
Open

Don't output \r on SIGINT#13
zr40 wants to merge 1 commit intohan:masterfrom
zr40:master

Conversation

@zr40
Copy link

@zr40 zr40 commented Aug 26, 2012

The \r character causes the 'Exiting' message to overwrite other output. For example, when used with Foreman, exiting Foreman causes this output:

Exiting1 worker.1      | 

instead of

17:00:01 worker.1      | Exiting

It's not the responsibility of stalker to clean up weird terminal states. Besides, stdout might not even be connected to a terminal.

This patch removes the \r character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant