Adding usefull keybinds
Build and Deploy Docs / build (push) Successful in 50s

This commit is contained in:
Arthur Barraux
2025-10-02 14:59:28 +02:00
parent 3b6c60a49e
commit 9157b94398
6 changed files with 78 additions and 20 deletions
+3 -1
View File
@@ -2,7 +2,6 @@
#include "../include/editor_op.h"
#include "../include/output.h"
#include "../include/define.h"
#include "data.h"
#include <ctype.h>
#include <stdint.h>
#include <stdio.h>
@@ -80,12 +79,15 @@ char *key_to_string(int key) {
break;
case PAGE_UP:
strcpy(key_str, "PAGE-UP");
fprintf(stderr, "pagr up\n");
break;
case PAGE_DOWN:
strcpy(key_str, "PAGE-DOWN");
break;
case DEL_KEY:
fprintf(stderr, "delete key\n");
strcpy(key_str, "DEL");
break;
case BACKSPACE:
strcpy(key_str, "BACKSPACE");