> On Jan 14, 2021, at 15:12, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > > OK, in that case I think it's best to fix this in libedit instead. Huh? There’s no issue in libedit, only unclear documentation. The application is the right place to store the prompt: it can be in a static buffer, or a constant string, in which case libedit has no need to save its own copy.