When using IRC clients in DSLinux, the bottom few lines of the screen are corrupted when the chat is scrolled up.
I’ve looked into this problem, and it is a bug in the framebuffer console code - when scrolling the screen upwards in SCROLL_PAN_REDRAW mode with a limited scroll region set up, the wrong part of the screen is copied to the bottom few lines.
Having discovered this, the fix is quite simple.
This bug is present in the latest Linux kernel too, so I’ll be sending this fix upstream.