moveCommandLineCursorToEnd
This content is for v1.3.1. Switch to the latest version for up-to-date documentation.
moveCommandLineCursorToEnd(
state):CommandLineEditState
Defined in: domain/cli/command-line-editing.ts:60
Cursorを行末へ移動。
Parameters
Section titled “Parameters”現在の編集状態。
Returns
Section titled “Returns”行末へ移動した編集状態。
Example
Section titled “Example”const result = moveCommandLineCursorToEnd({ value: "go Stripe", selectionStart: 0, selectionEnd: 0 });// { value: "go Stripe", selectionStart: 9, selectionEnd: 9 }