summaryrefslogtreecommitdiff
path: root/py/chat.py
diff options
context:
space:
mode:
authorMartin Bielik <mx.bielik@gmail.com>2023-05-14 14:48:28 +0200
committerGitHub <noreply@github.com>2023-05-14 14:48:28 +0200
commitb81bec1092f45c4783cc8cff01a60c8a40bb4024 (patch)
treedd6b86f7060599be85e9dc6c7c72886fa2d7155e /py/chat.py
parent9bbcaa6fb528138895d5fa1f653c7ff2e9d6e1ae (diff)
parent66da0784448b47a104723976da8e4265a5bbd926 (diff)
downloadvim-ai-b81bec1092f45c4783cc8cff01a60c8a40bb4024.tar.gz
Merge pull request #38 from madox2/next
clear echo message after completion, fixes #16
Diffstat (limited to '')
-rw-r--r--py/chat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/chat.py b/py/chat.py
index 7f00b37..86753ab 100644
--- a/py/chat.py
+++ b/py/chat.py
@@ -78,5 +78,6 @@ try:
vim.command("normal! a\n\n>>> user\n\n")
vim.command("redraw")
+ clear_echo_message()
except BaseException as error:
handle_completion_error(error)