Fix non ascii input

This commit is contained in:
daa 2017-03-12 18:11:43 +03:00
parent b4deb823aa
commit 18fe7b9bbc
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ pub fn keyval_to_input_string(val: &str, state: gdk::ModifierType) -> String {
input.push_str(val);
if input.len() > 1 {
if input.chars().count() > 1 {
format!("<{}>", input)
} else {
input