Skip to content

Commit

Permalink
Verbose: also print TIMG_SIXEL_NEWLINE_WORKAROUND content.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Jan 8, 2025
1 parent 2ecbb9c commit f79d854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/timg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ int main(int argc, char *argv[]) {

auto print_env = [](const char *env) {
const char *value = getenv(env);
fprintf(stderr, " %-23s%s", env, value ? " = " : " (not set)\n");
fprintf(stderr, " %-29s%s", env, value ? " = " : " (not set)\n");
if (value) fprintf(stderr, "\"%s\"\n", value);
};
fprintf(stderr, "Environment variables\n");
Expand All @@ -1101,6 +1101,7 @@ int main(int argc, char *argv[]) {
print_env("TIMG_ALLOW_FRAME_SKIP");
print_env("TIMG_USE_UPPER_BLOCK");
print_env("TIMG_FONT_WIDTH_CORRECT");
print_env("TIMG_SIXEL_NEWLINE_WORKAROUND");
}

if (cell_size_unknown_in_pixel_mode && cell_size_warning_needed) {
Expand Down

0 comments on commit f79d854

Please sign in to comment.