Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

BUGFIX: fix offset bug w/ col_offset and many color blocks #2037 #2042

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angelofallars
Copy link
Contributor

Description

Fixes #2037

Fix a bug where neofetch was passed a numeric col_offset value and the program only set the offset of the first color block, but not the others.

The first block either used the text_padding offset or the number set in col_offset. However, the other blocks still used text_padding even if col_offset was specified a number.

Original (--col_offset 60):

image

Fixed (--col_offset 60):

image

Features

Issues

TODO

@angelofallars angelofallars changed the title **bugfix:** fix offset bug w/ col_offset and many color blocks #2037 BUGFIX: fix offset bug w/ col_offset and many color blocks #2037 Feb 3, 2022
@nnuel
Copy link

nnuel commented Feb 3, 2022

Great that you were able to send in a fix for this!

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Jul 31, 2022
…ol_offset and many color blocks dylanaraps#2037

Upstream PR: dylanaraps#2042
Thanks to @angelofallars

Co-authored-by: Angelo Fallaria <ba.fallaria@gmail.com>
@hykilpikonna
Copy link

Thank you for your contribution!

This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.

HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.

Read the "Running Updated Original Neofetch" section for more info!

@zjp
Copy link
Contributor

zjp commented Jan 9, 2024

I've also merged it into the alignment branch of my fork.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

col_offset only works for first row of color blocks
4 participants