Raphael 'kena' Poss
Raphael 'kena' Poss
And also this change https://github.com/charmbracelet/bubbletea/pull/570
Yep, this is a known issue. @muesli my PR to handle long inputs should help alleviate this.
NB: as in #497, if you're interested I could pull the functionality out of bubbline into a PR for bubbletea. Let me know.
cc @muesli for your consideration. This is followup to what we were looking at yesterday. I'll add some benchmarks to showcase the improvement, even in the simple case when there...
some left over impl notes to self: - ~sort sequences to have longest first, to avoid mismatch if we ever have sequences prefix of another in the future.~ - ~randomized...
This is ready for review now.
So right now this code consumes all the input coming from the terminal until there's a lull with no input, and then only it starts detecting events in the input...
Note to self: also check the context cancellation during long reads.
After discussion with @muesli we are considering the following: - 1 PR to flip the control of readInputs to write the new messages to a channel directly. - 1 PR...
I will need to adapt this after the control flow change in #569.