Skip to content

Commit 8dc7e3f

Browse files
committed
feat: keep the cursor position at the end of the input
1 parent 863c3b6 commit 8dc7e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

denops/fall/component/input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class InputComponent extends BaseComponent {
212212
this.#offset,
213213
this.#cmdpos,
214214
this.#cmdline.length,
215-
cmdwidth,
215+
cmdwidth - 1,
216216
2,
217217
);
218218

0 commit comments

Comments
 (0)