You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thank you for the great tutorial. I followed your steps and got a working editor, ( I skipped the search for now).
But I have one big problem:
When I type umlauts, I get a spacing error. I tried to play around with the output of the step "ctrl-q" but only got weird symbols as an output.
The problem with those chars is that they use 2 positions in the x variable of the cursor, but I fail to understand how I can determine when such a wide char is used.
Also, maybe char is the wrong type to read that kind of input?
Hope you can help me.
The text was updated successfully, but these errors were encountered:
Yes, it seems like it would be too complicated to add unicode support to the tutorial. However, you should be able to change the character encoding of your terminal to use an extended ASCII encoding (like ISO 8859-1), and then umlauts should at least show up when you type them in the editor.
Hey there,
first of all thank you for the great tutorial. I followed your steps and got a working editor, ( I skipped the search for now).
But I have one big problem:
When I type umlauts, I get a spacing error. I tried to play around with the output of the step "ctrl-q" but only got weird symbols as an output.
The problem with those chars is that they use 2 positions in the x variable of the cursor, but I fail to understand how I can determine when such a wide char is used.
Also, maybe char is the wrong type to read that kind of input?
Hope you can help me.
The text was updated successfully, but these errors were encountered: