Wait a bit after input switch before doing Japanese typing

This commit is contained in:
Adam Williamson 2017-03-20 11:32:50 -07:00
parent df32aa869a
commit cc2d53b4ed

View File

@ -12,6 +12,8 @@ sub run {
# works. If we ever test other input-method based languages we can # works. If we ever test other input-method based languages we can
# generalize this out, for now we just inline Japanese # generalize this out, for now we just inline Japanese
if (get_var("LANGUAGE") eq 'japanese') { if (get_var("LANGUAGE") eq 'japanese') {
# wait a bit for input switch to complete
sleep 3;
# assume we can test input from whatever 'alt-f1' opens # assume we can test input from whatever 'alt-f1' opens
send_key "alt-f1"; send_key "alt-f1";
type_safely "yama"; type_safely "yama";