Skip to content

Commit

Permalink
fix: remove white space in chord names
Browse files Browse the repository at this point in the history
  • Loading branch information
bragefuglseth committed Oct 22, 2023
1 parent ff0924c commit bbea6fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chord_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ pub fn adjust_chord(chord: [Option<usize>; 6], barre: u8) -> [Option<usize>; 6]

pub fn prettify_chord_name(input: &str) -> String {
input
.replace(" ", "")
.to_ascii_lowercase()
.split('/')
.map(|part| {
Expand Down

0 comments on commit bbea6fb

Please sign in to comment.