Hey there. I implemented a small command line interpreter using the GNU readline library. This works really nice except for lines having much text input. As soon as the user reaches the console width the readline command prompt within the same line gets overwritten. What I want is the line to wrap around automatically. For example:
instead ofCode:cli> this is some very long line which should wrap around to the next line
Code:to the next line very long line which should wrap around
Is there a way to do that? Thanks in advance.