From: Ian Kelling Date: Sat, 1 Mar 2025 23:20:21 +0000 (-0500) Subject: remove dead code X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=4b962f65f0dafe7c07c2cd5e620711731bd2226c;p=distro-setup remove dead code --- diff --git a/beetag b/beetag index 56ad3b4..846fff4 100755 --- a/beetag +++ b/beetag @@ -393,7 +393,7 @@ beetag() { local -a tags # boolean state vars - local expected_input remove got_track first_play=true erasable_line=false + local remove got_track first_play=true erasable_line=false # iterator vars local ls_line tag @@ -637,7 +637,6 @@ beetag() { continue ;; "$escape_char") - expected_input=true read -rsn2 escaped_input case $escaped_input in # it was buggy to differentiate between up and down, '[A' and '[B' @@ -656,9 +655,6 @@ beetag() { mpvrpc '{ "command": ["seek", "'$seek_sec'"] }' continue ;; - *) - expected_input=false - ;; esac ;; esac