Merge pull request #501 from AnthonyHarwood/fse_cursor_position

fixed incorrect reporting of cursor position
This commit is contained in:
Bryan Ashby 2023-09-20 13:49:35 -06:00 committed by GitHub
commit 86049353a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1050,7 +1050,7 @@ exports.FullScreenEditorModule =
posView.setText( posView.setText(
_.padStart(String(pos.row + 1), 2, '0') + _.padStart(String(pos.row + 1), 2, '0') +
',' + ',' +
_.padEnd(String(pos.col + 1), 2, '0') _.padStart(String(pos.col + 1), 2, '0')
); );
this.client.term.rawWrite(ansi.restorePos()); this.client.term.rawWrite(ansi.restorePos());
} }