[pacman-dev] [PATCH 4/6] Refactor display_targets for readability