Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(textinput): Placeholder No Longer Changes Width + Paste Calculati…
…on (charmbracelet#451) * Fix pasting calculations Available length calculation now correctly trims pasted text. * fix(textInput): Width padding added when placeholder is used When `placeholder` is set, padding from `Width` was not added within the `placeholderView()` function. * Adding missing 'm.' * Maintain Width no matter placeholder size delta * Fixed Math * Added Comments * fix: lint --------- Co-authored-by: Donovan Hubbard <37090676+donovanhubbard@users.noreply.github.com> Co-authored-by: Maas Lalani <maas@lalani.dev>
- Loading branch information