Almost-Senseless-Tech / Voskle-Live-Transcribe-Android

A simple, accessible and offline real-time transcription app for Android.
Apache License 2.0
5 stars 0 forks source link

Move cursor to end of text when keyboard input gets activated #14

Closed Almost-Senseless-Coder closed 7 months ago

Almost-Senseless-Coder commented 7 months ago

When keyboard input gets activated, the insertion point for text remains at the last location where the user inserted text, potentially in the middle of the transcript.

It would be far better if the cursor got moved to the end of the transcript and a new line inserted when activating keyboard input.

To do this, we will likely have to convert the current String value of the transcript to a TextFieldValue, since an ordinary String does not support altering the cursor location.

Almost-Senseless-Coder commented 7 months ago

I forgot to mention this issue in the merge commit to automatically close this, so I'll do so now manually.