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
Great tutorial, however there are quite a few style issues I see.
For example:
On step 43, you add variables for the cursor's X and Y
struct editorConfig {
int cx, cy;
int screenrows;
int screencols;
. . .
}
If you put cx and cy on the same line for variable declaration, it's a good idea to also put screenrows and screencols on the same line, and you might even consider pulling all four of them on the same line.
The text was updated successfully, but these errors were encountered:
Great tutorial, however there are quite a few style issues I see.
For example:
On step 43, you add variables for the cursor's X and Y
If you put
cx
andcy
on the same line for variable declaration, it's a good idea to also putscreenrows
andscreencols
on the same line, and you might even consider pulling all four of them on the same line.The text was updated successfully, but these errors were encountered: