Commit Graph

7 Commits

Author SHA1 Message Date
Christian Rocha
e9dd6b06e0
Fix duplicate character bug when deleting chars in long strings
If the string is longer than the width of the field and the horizontal
viewport (so to speak) was on the right edge, the last character would
repeat when deleting characters because the viewport offset wasn't being
corrected. This fixes that.
2020-06-20 23:34:19 -04:00
Christian Rocha
d3192a3e70
Update text input viewport scrolling to handle unicode characters 2020-06-11 21:24:41 -04:00
Christian Rocha
74cc86fce5
Use a slice of runes as the underlying textinput value 2020-06-11 18:35:18 -04:00
Christian Rocha
87c7cd778f
Rename to Bubbles + copy over components from Bubble Tea + remove examples 2020-05-25 20:08:37 -04:00
Christian Rocha
da64445a0e
Update subs for Tea v0.2.1. That is to say, remove the their arguments. 2020-05-04 18:54:26 -04:00
Christian Rocha
7ef18ab69e
Fix a bug where text inputs with no char limit couldn't take input 2020-04-23 12:10:53 -04:00
Christian Rocha
bf2d13df66
Rename input to textinput + DefaultModel is now NewModel 2020-04-23 12:10:09 -04:00