Ask coding questions

← Back to all posts

Why does the typing cursor move behind 5 pixels every time i type.

PattanAhmed (1399)

@AnthonyValdes Hi,
Any screenshots to share
as more clarification for us...

Coder100 (17506)

Hi, that's most likely because you have invisible characters.
This is an example (zero-width joiner):

So, basically the cursor thinks that the character has the same space as any alphabetical letter, so it moves forwards as if it was.

The only way to fix this is by escaping the letter. Read more here

You can find escape codes here

k9chelsea2 (731)

sorry whats your question