Changelog: Bookworm! 1.1.1
BUGFIX:
Before, when calling void pl_readline_insert_char_and_view(_self, char ch)
, it wouldn't check the size of the buffer and realloc it,
but now, it will.
Try to port it to your OS!
What you need:
- A VT100-supported terminal
- Some ANSI C functions, such as
malloc
,free
,strdup
,strcmp
,strncmp
,realloc
,sprintf
etc. - A keyboard driver that can get the necessary keys (the definitions are in
include/pl_readline.h
), of course you don ‘t have to implement all these keys' handler, just pick something useful that you think is necessary
Have fun!