blink
blink copied to clipboard
mosh: --predict-overwrite option on the client
The official mosh client added support for the option “--predict-overwrite” a while back. What this option to my understanding does is overwrite the current line/command with the predicted text rather than insert it to the right of the cursor.
Using fish shell and the default prediction behavior is really not a great user experience, to the point where I find it unbearable myself on high latency connections—see https://github.com/mobile-shell/mosh/issues/932. Turning on “--predict-overwrite” is such a huge improvement. It would be really great if Blink supported this option!
Thank you!
Leave a note here https://github.com/mobile-shell/mosh/commit/8aac3cc92724c2787d885ca6cfc0855c64e7afe7
We need to port that part.
Closing as implemented. Feel free to reopen if needed.