Unverified Commit 14fead09 authored by Marc Cornellà's avatar Marc Cornellà Committed by GitHub
Browse files

vi-mode: disable displayed mode on startup

This change had the unintended consequence of overriding the functions to ensure
that application mode was set to use $terminfo sequences, introduced in #6449.

Fixes #7137
parent 150a3c9c
......@@ -4,11 +4,6 @@ function zle-keymap-select() {
zle -R
}
# Ensures that MODE_INDITCATOR is displayed on terminal start up.
function zle-line-init() {
zle reset-prompt
}
# Ensure that the prompt is redrawn when the terminal size changes.
TRAPWINCH() {
zle && { zle -R; zle reset-prompt }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment