|
ze
|
Program entry point and runtime initialization. More...
#include <libguile.h>#include <stdio.h>#include <stdlib.h>#include "ze.h"#include "terminal.h"#include "status.h"#include "render.h"#include "plugins.h"#include "search.h"#include "fileio.h"#include "init.h"#include "templates.h"#include "input.h"
Functions | |
| void | initEditor (void) |
| Initialize global editor state and screen dimensions. | |
| int | main (int argc, char *argv[]) |
| Program entry point. | |
Variables | |
| struct editorConfig | E |
| char * | notes_template = "" |
| char * | readme_template = "" |
Program entry point and runtime initialization.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Program entry point.
Sets terminal raw mode, initializes editor state, sets up Guile runtime and Scheme bindings, loads plugins and config, optionally opens a file from argv, then enters the main UI loop.
| [in] | argc | Argument count. |
| [in] | argv | Argument vector; argv[1] is treated as a filename if present. |