mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-26 13:31:42 +03:00
4 lines
220 B
Fish
4 lines
220 B
Fish
function _tide_count_left_prompt_height -v tide_left_prompt_items
|
|
set -l numberOfNewlines (count (string match -a 'newline' $tide_left_prompt_items))
|
|
set -g _tide_left_prompt_height (math 1+$numberOfNewlines)
|
|
end |