How to disable automatic console scrolling?