Skip to content

Implement LMB logic for selection prompt #6

Description

@obiwankimberly

Replace the current selection prompt (form on the bottom line) with this logic:

if (is_index){  
    printf("K <keywords>, ");
    length_of_prompt = length_of_prompt + 14;
}
if (href_count!=0){
    printf("<ref.number>, ");   
    length_of_prompt = length_of_prompt + 14;
}
if (node_count>1){
    printf("Back, ");
    length_of_prompt = length_of_prompt + 6;
}
if (!end_of_file){
    printf("<RETURN> for more, ");
    length_of_prompt = length_of_prompt + 19;
}
if (length_of_prompt <= 47){
    printf("Quit, ");
}
printf("or Help: ");    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions