diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-07-21 17:13:58 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-07-21 18:01:58 +0200 |
| commit | 679552d6db9771ddbf29bd02eb8392b3f319d4cb (patch) | |
| tree | 2af606eb8fe1423908366313cdd5fbcdc9c46f45 /editor.h | |
| parent | 38f00e3e8a50e1690dcb78cf1eca8b6befb7173b (diff) | |
| download | vis-679552d6db9771ddbf29bd02eb8392b3f319d4cb.tar.gz vis-679552d6db9771ddbf29bd02eb8392b3f319d4cb.tar.xz | |
ui: further separate curses related user interface code
By now ui-curses.[hc] are the only files dealing directly with
curses related functions. Integration of a proper mainloop is
still pending.
Diffstat (limited to 'editor.h')
| -rw-r--r-- | editor.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,6 @@ #ifndef EDITOR_H #define EDITOR_H -#include <curses.h> #include <signal.h> #include <stddef.h> #include <stdbool.h> @@ -273,9 +272,9 @@ int editor_tabwidth_get(Editor*); /* load a set of syntax highlighting definitions which will be associated * to the underlying window based on the file type loaded. * - * both *syntaxes and *colors must point to a NULL terminated arrays. + * The parameter `syntaxes' has to point to a NULL terminated array. */ -bool editor_syntax_load(Editor*, Syntax *syntaxes, Color *colors); +bool editor_syntax_load(Editor*, Syntax *syntaxes); void editor_syntax_unload(Editor*); /* creates a new window, and loads the given file. if filename is NULL |
