Skip to content

Commit 6c5d1e4

Browse files
committed
tide: remove tput dep
1 parent 3998133 commit 6c5d1e4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.config/fish/conf.d/tide.fish

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ set -g tide_zig_icon 
174174
if string match -q "$TERM_PROGRAM" vscode && status is-login
175175
set -gx tide_shlvl_threshold "$SHLVL"
176176
end
177-
if command -q tput && status is-interactive
178-
function tide_prompt_at_bottom --on-event fish_prompt --on-variable LINES
179-
tput cup $LINES
180-
end
177+
status is-interactive && function tide_prompt_at_bottom --on-event fish_prompt --on-variable LINES
178+
printf "\e[3J\e[$LINES;1H" # tput cup $LINES
181179
end

0 commit comments

Comments
 (0)