summaryrefslogtreecommitdiff
path: root/py/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/utils.py')
-rw-r--r--py/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/utils.py b/py/utils.py
index 963377d..d1f960b 100644
--- a/py/utils.py
+++ b/py/utils.py
@@ -231,7 +231,7 @@ def openai_request(url, data, options):
def print_info_message(msg):
vim.command("redraw")
- vim.command("normal \\<Esc>")
+ vim.command('call feedkeys("\<Esc>")')
vim.command("echohl ErrorMsg")
vim.command(f"echomsg '{msg}'")
vim.command("echohl None")