Mercurial > vim
diff src/proto/edit.pro @ 22077:335365fcbb60 v8.2.1588
patch 8.2.1588: cannot read back the prompt of a prompt buffer
Commit: https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 4 16:35:35 2020 +0200
patch 8.2.1588: cannot read back the prompt of a prompt buffer
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes https://github.com/vim/vim/issues/6851)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Sep 2020 16:45:04 +0200 |
parents | 918245588b50 |
children | 2cc0de1e05a6 |
line wrap: on
line diff
--- a/src/proto/edit.pro +++ b/src/proto/edit.pro @@ -4,6 +4,7 @@ int ins_need_undo_get(void); void ins_redraw(int ready); int decodeModifyOtherKeys(int c); void edit_putchar(int c, int highlight); +char_u *buf_prompt_text(buf_T* buf); char_u *prompt_text(void); int prompt_curpos_editable(void); void edit_unputchar(void);