CE improve editor performace by reducing amount of copying
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m31s

This commit is contained in:
2026-03-06 21:59:41 +01:00
parent eb3238bf85
commit 49059f4bfa
4 changed files with 45 additions and 53 deletions

View File

@@ -147,7 +147,7 @@ void app_main (void) {
mprintf ("\n");
render = gapbuffer_get_string (&warena_malloc, &arena, &edit_line.gb);
render = gapbuffer_string_at (&warena_malloc, &arena, &edit_line.gb, 0);
if (render != NULL)
exec_line (render);