Increase Console Scrollback

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
ghayne
Posts: 42
Joined: Sat Jun 08, 2019 9:31 am
Location: Cwmllynfell, Wales

Increase Console Scrollback

Post by ghayne » Thu Jun 13, 2019 12:02 pm

Hi,
Is there a method to increase Console Scrollback (history)?
I'm using the ESP32 flavour.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Increase Console Scrollback

Post by Roberthh » Thu Jun 13, 2019 12:11 pm

By the size of of the array readline_hist[] in the port specific mpconfigport.h.

User avatar
ghayne
Posts: 42
Joined: Sat Jun 08, 2019 9:31 am
Location: Cwmllynfell, Wales

Re: Increase Console Scrollback

Post by ghayne » Thu Jun 13, 2019 12:20 pm

Thanks! So only if I compile it myself.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Increase Console Scrollback

Post by Roberthh » Thu Jun 13, 2019 12:24 pm

Yes, I think so. I could not see any dynamic means in the code.

User avatar
ghayne
Posts: 42
Joined: Sat Jun 08, 2019 9:31 am
Location: Cwmllynfell, Wales

Re: Increase Console Scrollback

Post by ghayne » Thu Jun 13, 2019 12:32 pm

Thank you for the quick reply anyway. I am a Linux user and am spoiled by the long history. Also I am lazy :)
I've just started with Micropython and am having the time of my life!
I also saw that you are from a country I lived in for 33 years, so shoene Gruesse aus Wales.

Post Reply