wezterm
wezterm copied to clipboard
feat: add a way to spawn populated LineEditor
Closes #6002
Adds a new constructor for LineEditor
, that allows to specify text to pre-populate the input.
Also removes a call to line.clear() in a method to initiate editing, as it is currently only ever called after editor struct had been newly spawned.