Skip to content

Renaming #22

@AndreLaranjeira

Description

@AndreLaranjeira

Some of the names employed by macros, functions, structs or enumerations are not satisfactory enough. However, since renaming them would be a breaking change, it should be done on a major release. And since I don't want to publish lots of major releases, I'll group all the renames into this issue in order to publish a single new major release (hopefully I won't change my mind afterwards about some name or triffle).

Note: Check stash. Some changes were made in advance and stashed.

Renaming list:

  • Macro: TIME_FMT_SIZE -> ??? (Current name is not informative enough);
  • Struct: DisplayColors.text_color -> DisplayColors.foreground_color (Better name that follows official ANSI documentation);
    • Function: color_text -> color_foreground (Same as main change);
    • Function: reset_text_color -> reset_foreground_colors (Same as main change);

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeBreaks backward compatibilityimprovementSomething to be refactored or changed in the existing code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions