diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-01-26 15:20:55 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-01-26 15:20:55 -0800 |
commit | 18183f3e4b504324952336147222640182c24119 (patch) | |
tree | 4c506c6297f786269a3ae62c77488a99cace0502 | |
parent | b493ed32b81ea9bbb880e5d50026082ac44ecfb8 (diff) | |
download | teliva-18183f3e4b504324952336147222640182c24119.tar.gz |
indent
-rw-r--r-- | src/kilo.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kilo.c b/src/kilo.c index 83da598..09ef33c 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1096,17 +1096,17 @@ static void editorGo(lua_State* L) { if (qlen != 0) query[--qlen] = '\0'; } else if (c == CTRL_X || c == ENTER) { if (c == ENTER) { - save_to_current_definition_and_editor_buffer(L, query); - clearEditor(); - editorOpen("teliva_editor_buffer"); - attrset(A_NORMAL); - clear(); - draw_callers_of_current_definition(L); + save_to_current_definition_and_editor_buffer(L, query); + clearEditor(); + editorOpen("teliva_editor_buffer"); + attrset(A_NORMAL); + clear(); + draw_callers_of_current_definition(L); } return; } else if (c == CTRL_U) { - qlen = 0; - query[qlen] = '\0'; + qlen = 0; + query[qlen] = '\0'; } else if (isprint(c)) { if (qlen < CURRENT_DEFINITION_LEN) { query[qlen++] = c; |