SecondHalfGames / yakui

yakui is a declarative Rust UI library for games
Apache License 2.0
237 stars 21 forks source link

Focusing TextBox should position the cursor #68

Closed LPGhatguy closed 1 year ago

LPGhatguy commented 2 years ago

I tried to work through this today. I think that the separation between TextBox and RenderTextBox makes this difficult and we should change the abstraction.

I think that similar to paint_text we can make a helper function to lay out text.

LPGhatguy commented 1 year ago

Done!