dwmkerr / consolecontrol

ConsoleControl is a C# class library that lets you embed a console in a WinForms or WPF application.
MIT License
723 stars 169 forks source link

Auto scroll not working after control loses focus #45

Closed cazdev closed 4 years ago

cazdev commented 4 years ago

I am using this console for an output log but after clicking another control auto-scroll stops working as intended also Console.WriteOutput will insert anywhere the mouse is clicked. Not sure if this is intended but I would like to disable.

Thanks, cazdev

cazdev commented 4 years ago

Nevermind looks like this is just because this control is basically a richtextbox which behaves the same way. Can be solved using ScrollToCaret(); in console output event