4 ms·
For anyone who want to do it without a library it's actually really easy to get started with #include <stdio.h> #include <termios.h> #include <unistd.h>
by slmjkdbtl 6y ago
For anyone who want to do it without a library it's actually really easy to get started with
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
and follow the beginning chapters of the great "Build Your Own Text Editor" tutorial[0].
[0] https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode...