Set stdout on one line for events