# File raggle, line 3343 def NcursesInterface::get_win_id(str) $wins.each_index { |i| return i if $wins[i].key == str } -1 end