Describe the bug
When used in a sequence of inputs, the textarea control receives a number of KeyMsg and other messages which have two noticeable effects:
Weird control character sequences appear as the control's input, and
There is often a 5 to 30 second delay in the rendering of the control.
Note: the textarea sample application ("tell me a story") does not appear to show the same behavior.
Setup
Please complete the following information along with version numbers, if applicable.
Describe the bug When used in a sequence of inputs, the textarea control receives a number of KeyMsg and other messages which have two noticeable effects:
Note: the
textarea
sample application ("tell me a story") does not appear to show the same behavior.Setup Please complete the following information along with version numbers, if applicable.
To Reproduce Steps to reproduce the behavior:
bubbletea
version to0.26.2
andgo mod tidy
to get new dependenciesgo run *.go
and enter values for each input andctrl+c
to exit at the endbubbletea
version to0.26.3
andgo mod tidy
to get new dependenciesgo run *.go
and enter values for first twotextinput
fieldstextarea
renders, see the "random" charactersSource Code wizard-tutorial
This project does not exhibit the same behavior textarea
Expected behavior The
textarea
control should render quickly and without the extra/random characters already populating the field.Screenshots Expected behavior (0.26.2) -
Current behavior (0.26.3) -
Additional context