Repaint prompt when COLUMNS changes (fixes #254)

This commit is contained in:
Ilan Cosman 2022-02-21 07:19:18 -08:00
parent 1746ff8fa1
commit 041f23921a

View File

@ -12,7 +12,7 @@ set -U $prompt_var # Set var here so if we erase $prompt_var, bg job won't set a
set -l color_normal (set_color normal)
# _tide_repaint prevents us from creating a second background job
function _tide_refresh_prompt --on-variable $prompt_var
function _tide_refresh_prompt --on-variable $prompt_var --on-variable COLUMNS
set -g _tide_repaint
commandline -f repaint
end