diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-14 08:01:49 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-14 09:48:40 -0800 |
commit | af4fbe97bf198b2825a8db634b2feb7ed7c8c6a5 (patch) | |
tree | 2b42d898cd1b6e1d5e9d1067858f7197281650a0 /src/kilo.c | |
parent | 33331a7c50051a2bfaffb788619d04946ba8acb1 (diff) | |
download | teliva-af4fbe97bf198b2825a8db634b2feb7ed7c8c6a5.tar.gz |
.
Diffstat (limited to 'src/kilo.c')
-rw-r--r-- | src/kilo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kilo.c b/src/kilo.c index acbd3dd..df05165 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1000,7 +1000,7 @@ void word_at_cursor(char* out, int capacity) { extern void save_to_current_definition_and_editor_buffer(lua_State *L, char *name); extern void load_editor_buffer_to_current_definition_in_image(lua_State *L); -extern void editorRefreshBuffer(void); +extern void editor_refresh_buffer(void); #define CURRENT_DEFINITION_LEN 256 static void editorGo(lua_State* L) { char query[CURRENT_DEFINITION_LEN+1] = {0}; @@ -1023,7 +1023,7 @@ static void editorGo(lua_State* L) { editorSetStatusMessage(""); if (c == ENTER) { save_to_current_definition_and_editor_buffer(L, query); - editorRefreshBuffer(); + editor_refresh_buffer(); } return; } else if (c == CTRL_U) { |