Thanks for the advice !
Good points ! Thanks !
I’m happy someone else is considering the time investment. I started using neovim since yesterday for the very purpose of learning key bindings that I deem useful. I’ll then move to a config already made with features I like or an IDE. Thanks !
Those are a lot of good arguments. Thank you.
Thank you all for your time and valuable input ! I’ll be trying out vim and learn a few key bindings then move on to emacs and see what I can do. I’ll then try out premade configs like doom and spacemacs and see or the neovim ones and settle on one that has the stuff i want.
Thanks a lot for the in depth explanation, this makes things a lot clearer. I’ll try ‘putchar()’ and test a few more things and then come back to read this post again
Thank you, I realize that there’s a whole other aspect I didn’t even consider. I’m new to C and Linux so I’ll follow your advice but it’s making me want to learn more. Thanks again to both you and @adriator for your answers
Thanks a lot for your answer. This might be because of my shallow understanding of how a buffer works, but I don’t understand why EOF isn’t consumed by getchar() when the other bytes are consumed. Isn’t a char just a number and EOF too (-1 I think)? I probably should try and understand buffers more
Thank you for your answer :)