Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated selector indicator to be an underline #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/multitrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define HEADER_STYLE COLOR_PAIR(2)|A_REVERSE

//color attributes of selected entry in satellite listing
#define MULTITRACK_SELECTED_ATTRIBUTE (COLOR_PAIR(6)|A_REVERSE)
#define MULTITRACK_SELECTED_ATTRIBUTE A_UNDERLINE

//marker of menu item
#define MULTITRACK_SELECTED_MARKER '-'
Expand Down Expand Up @@ -835,7 +835,7 @@ void multitrack_display_listing(multitrack_listing_t *listing)
//show entries
if (listing->num_entries > 0) {
int selected_index = listing->sorted_index[listing->selected_entry_index];
listing->entries[selected_index]->display_attributes = MULTITRACK_SELECTED_ATTRIBUTE;
listing->entries[selected_index]->display_attributes |= MULTITRACK_SELECTED_ATTRIBUTE;
listing->entries[selected_index]->display_string[0] = MULTITRACK_SELECTED_MARKER;

int line = 0;
Expand Down