diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -17,9 +17,8 @@ static void print_usage(const char *argv0) { fprintf(stderr, " %s [--config path/to/ecexrc.c] [--font path/to/font.ttf]\n", argv0); fprintf(stderr, "\n"); fprintf(stderr, "keys:\n"); - fprintf(stderr, " F1 opens M-x\n"); + fprintf(stderr, " M-x opens the command prompt\n"); fprintf(stderr, " Tab completes M-x command names\n"); - fprintf(stderr, " Alt+x opens M-x when the OS/window-manager allows it\n"); fprintf(stderr, " C-x is reserved for prefix maps\n"); fprintf(stderr, "\n"); fprintf(stderr, "env:\n"); @@ -141,15 +140,18 @@ int main(int argc, char **argv) { } snprintf(app.font_path, sizeof(app.font_path), "%s", font_path); + app.font_revision_seen = ed->font_revision; + app.ui_revision_seen = ed->ui_revision; app_install_callbacks(&app); - app_message(&app, "F1 for M-x. Tab completes commands."); + app_message(&app, "M-x for commands. Tab completes."); while (!glfwWindowShouldClose(window) && !ed->should_quit) { double now = glfwGetTime(); if (ecex_media_tick(ed, now) || ecex_tick_animations(ed, now)) { app.dirty = 1; } + app_sync_editor_ui(&app); if (app.dirty) { render(&app); |
