Skip to content

Commit

Permalink
Terminal: Ensure changing color schema modifies cursor
Browse files Browse the repository at this point in the history
* Really fixes #8256
  • Loading branch information
kallisti5 committed Dec 4, 2012
1 parent ede21af commit a2b5d15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/apps/terminal/AppearPrefView.cpp
Expand Up @@ -374,6 +374,8 @@ AppearancePrefView::_ChangeColorSchema(color_schema* schema)
pref->setRGB(PREF_TEXT_BACK_COLOR, schema->text_back_color);
pref->setRGB(PREF_SELECT_FORE_COLOR, schema->select_fore_color);
pref->setRGB(PREF_SELECT_BACK_COLOR, schema->select_back_color);
pref->setRGB(PREF_CURSOR_FORE_COLOR, schema->cursor_fore_color);
pref->setRGB(PREF_CURSOR_BACK_COLOR, schema->cursor_back_color);
}


Expand All @@ -386,6 +388,8 @@ AppearancePrefView::_SetCurrentColorSchema(BMenuField* field)
gCustomSchema.text_back_color = pref->getRGB(PREF_TEXT_BACK_COLOR);
gCustomSchema.select_fore_color = pref->getRGB(PREF_SELECT_FORE_COLOR);
gCustomSchema.select_back_color = pref->getRGB(PREF_SELECT_BACK_COLOR);
gCustomSchema.cursor_fore_color = pref->getRGB(PREF_CURSOR_FORE_COLOR);
gCustomSchema.cursor_back_color = pref->getRGB(PREF_CURSOR_BACK_COLOR);

const char* currentSchemaName = NULL;

Expand Down

0 comments on commit a2b5d15

Please sign in to comment.