Open kj7rrv opened 4 years ago
Yes, there is a StringSource: https://github.com/prompt-toolkit/pypager/blob/master/pypager/source.py#L380
Use this instead of GeneratorSource, which is used in the example from the README: https://github.com/prompt-toolkit/pypager
Thanks!
I have a big multiline string. Can I page it without a generator?