diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-25 21:54:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-25 21:54:21 -0600 |
| commit | 8783efd12edd6ab739b8eee7776d6c744df4f677 (patch) | |
| tree | badd8a2f1485c15280cdf7c64a167b9ffd0e47c5 /src/interact.h | |
| parent | c980daddaa17460a65fe1ce7511b680279381dc1 (diff) | |
| parent | 87c6a0f8f822c57b4f63bc8bb099a33307871414 (diff) | |
| download | zash-editor/vi-v-dot.tar.gz | |
Merge pull request #39 from skurtz97/editor/one-editoreditor/vi-v-dot
interactive: one editor, no library
Diffstat (limited to 'src/interact.h')
| -rw-r--r-- | src/interact.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/interact.h b/src/interact.h index 7894480..7a649c5 100644 --- a/src/interact.h +++ b/src/interact.h @@ -29,23 +29,15 @@ int hist_count(void); const char *hist_entry(int index); void hist_save(void); -/* ---- the line editor (edit_builtin.c or edit_libedit.c) -------------- */ +/* ---- the line editor (edit_builtin.c) -------------------------------- */ /* - * Both editors define these two functions, where they are documented. * edit_usable() says whether lines can be edited on this terminal; * edit_readline() reads one line and returns it without its newline, in * storage it owns, or nullptr at end of input. */ bool edit_usable(void); char *edit_readline(const char *prompt, size_t *len); -/** - * @brief Which editor is linked in: "builtin" or "libedit". - * - * It is the value of `$ZASH_EDITOR`, and the tests use it to skip what - * only one of the two editors does. - */ -extern const char edit_name[]; /* * `bind`, in the notation of the BSD shells: edit_bind() records one |
