diff --git a/src/key_operations.rs b/src/key_operations.rs index e02d447..346effe 100644 --- a/src/key_operations.rs +++ b/src/key_operations.rs @@ -355,7 +355,8 @@ pub fn encode_byte(c: &str) -> Option { pub fn decode_byte(u: &u8) -> Option { for key in KEY_MAP.iter() { if key.1 == *u { - return Some(key.0.to_string()) + let return_value = format!("{}{}{}", "<", key.0.to_string(), ">"); + return Some(return_value) } }