Closed tisonkun closed 3 months ago
Find a workaround state.run_edit_commands(&[EditCommand::InsertString("SELECT 1".to_string())]);
,
Let me see if it's feature completed.
Seems work well, while such a method can be convenient.
The workaround now looks elegant to me. Close as no longer an issue.
The same as rustyline's readline_with_initial.
The scenario is we accept partial inputs, like
SELECT 1; SELECT
, and then processSELECT 1;
, while push back the restSELECT
for the next input.