summaryrefslogtreecommitdiffhomepage
path: root/src/interact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interact.h')
-rw-r--r--src/interact.h10
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