rustyline icon indicating copy to clipboard operation
rustyline copied to clipboard

History hinter that doesn't use erroring lines

Open sophiajt opened this issue 5 years ago • 2 comments

Is it possible to add lines to the history and tell the history they are lines with errors so that the history hinter doesn't use them?

If this isn't possible yet, I think it'd be a helpful addition.

sophiajt avatar Oct 27 '19 17:10 sophiajt

No, it is not possible. I guess we should let users provide their own history implementation for your case and #127.

gwenn avatar Oct 28 '19 17:10 gwenn

Like termwiz.

gwenn avatar Oct 28 '19 17:10 gwenn