1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-27 01:17:04 +00:00
termux-packages/packages/neofetch/0001-fix-bash-5.2-column-cut-off-issue.patch
2022-10-07 05:26:50 +08:00

26 lines
973 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From bc89c504276a00e655d7ba4d0ba3aa19e3f8d70d Mon Sep 17 00:00:00 2001
From: OldWorldOrdr <joey.t.reinhart@gmail.com>
Date: Fri, 30 Sep 2022 06:34:19 -0400
Subject: [PATCH] Update neofetch
Origin: https://github.com/hykilpikonna/hyfetch/commit/e72fe4d934e3fb0c606cd5afaccca89995412613
---
neofetch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/neofetch b/neofetch
index 7c7a2de3e..3e3f81467 100755
--- a/neofetch
+++ b/neofetch
@@ -4636,8 +4636,8 @@ get_cols() {
printf -v block_spaces "%${block_height}s"
# Convert the spaces into rows of blocks.
- [[ "$blocks" ]] && cols+="${block_spaces// /${blocks}nl}"
- [[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}nl}"
+ [[ "$blocks" ]] && cols+="${block_spaces// /${blocks}\[mnl}"
+ [[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[mnl}"
# Determine the horizontal offset of the blocks.
case $col_offset in