Unable to view serial logs due to log view autoscroll #1878
raquo
started this conversation in
Ideas & New Features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My board writes a bunch of debug logs to serial output, both at startup and then every half second or so. Due to Mu Editor's autoscroll, I can't scroll up to view anything but the last few log lines.
Every time a new line is printed, Mu Editor auto-scrolls to the bottom of the serial log. This is usually helpful, but in my case I'm completely unable to read the log output that my board printed out when it started up, because I literally can't scroll up to it: whether I use the scroll wheel or click-and-drag the scrollbar, Mu Editor auto-scrolls the serial log view to the latest log message every time a new log appears (which in my case is one or two times per second).
One solution to this UI problem is to NOT auto-scroll the log view to the bottom UNLESS the log view is already scrolled all the way to the bottom just before the new log lines are printed. That way if user scrolled up to see older log entries, autoscroll will not interfere with that. That still might not work with super-fast logging, but overall it should be very natural for users, I think. Definitely better than the current situation. FWIW terminal emulators that I've used (e.g. iTerm) behave similarly, although I don't know what exact logic they implement.
Beta Was this translation helpful? Give feedback.
All reactions