Added get_bar_where_cursor_is_in function in config

tralala, trololo