mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
Repaint prompt when COLUMNS changes (fixes #254)
This commit is contained in:
parent
1746ff8fa1
commit
041f23921a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user