Configurable settings with blisp

This commit is contained in:
Arthur Barraux
2025-06-02 10:31:31 +02:00
parent 19601a0078
commit bff3f84ecd
18 changed files with 446 additions and 119 deletions
+8
View File
@@ -5,6 +5,8 @@
#include "define.h"
#include "output.h"
#include "terminal.h"
#include "builtins.h"
#include "../blisp/include/config_tools.h"
#include <unistd.h>
// KEYS keycode
@@ -19,6 +21,12 @@
// END \x1b[4~ || <esc>[8~ || <esc>[F || <esc>OF
// DELETE \x1b[3~
char *key_to_string(int key);
int execute_key_binding(config_t *config, const char *key_combo, void *context);
int handle_key_sequence(struct editorConfig *E, int key);
char *editorPrompt(struct editorConfig *E, char *prompt);
void editorMoveCursor(struct editorConfig *E, int key);