Files
nostr_terminal/include/editor.h

9 lines
273 B
C

#ifndef EDITOR_H
#define EDITOR_H
/* Launch editor, return malloc'd string with user content, or NULL on failure/empty.
* If initial_content is non-NULL, it is pre-loaded into the editor buffer. */
char *editor_launch(const char *initial_content);
#endif /* EDITOR_H */