Last night I fixed one of the vicious bugs of Ratatui on livestream! 🐭⚔️
🦀 PR: github.com/ratatui/ratatui/pul…
▶️ Watch the stream: youtube.com/watch?v=jiTtSmdRNd…
fix(buffer): avoid overflow while getting the position of indexes by orhun · Pull Request #1457 · ratatui/ratatui
This commit fixes an unsafe conversion issue in the pos_of method of Buffer where the final position is silently truncated if an index larger than u16::MAX is provided. It was due to the unchecked ...GitHub