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

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());
} }