{
Evas_Object *term = data;
Config *config = termio_config_get(term);
- config->disable_cursor_blink = elm_check_state_get(obj);
+ config->disable_cursor_blink = !elm_check_state_get(obj);
termio_config_update(term);
config_save(config, NULL);
}
o = elm_check_add(bx);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
- elm_object_text_set(o, "Disable cursor blinking");
- elm_check_state_set(o, config->disable_cursor_blink);
+ elm_object_text_set(o, "Cursor blinking");
+ elm_check_state_set(o, !config->disable_cursor_blink);
elm_box_pack_end(bx, o);
evas_object_show(o);
evas_object_smart_callback_add(o, "changed",