Cursor appears to be displayed one character to the right of its actual position

How to fix it,I’m facing it in google chrome while using any online compilers for coding