fastfetch icon indicating copy to clipboard operation
fastfetch copied to clipboard

[BUG] Newline breaks after using icat for logo

Open LecheConGrumos opened this issue 6 months ago • 4 comments

Read the FAQ first

  • [x] I have checked the FAQ but the issue is not covered

Description

Whenever using kitty-icat for rendering an image as the logo when opening the terminal, the line break breaks for the rest of the terminal session, so instead of the text appearing below the previous text on reaching the edge of the window, it gets displayed over the previously written line, from the left. The issue does not show up when using other logo display methods. The issue only appears when executing fastfetch on opening a terminal, so "kitty --hold fastfetch". Whenever invoking fastfetch manually after opening the terminal, the issue does not present itself.

Version used

2.42.2 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

pacman

Screenshots

The --- and ___ overlap on the same line, the issue translates to terminal editors too, neovim in my case. Can provide a video for further understanding.

Image

Configuration

"logo":{
//    "type": "file-raw",
//    "source": "~/Images/fastfetch/cat_dotart",
      "type": "kitty-icat",
      "source": "~/Images/moth.gif",
      "width": 30,
      "height": 20,
      "padding": {
        "top": 0,          // Top padding
        "left": 0,         // Left padding
        "right":2     // Right padding
    }
    }

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "alex",
      "fullUserName": "",
      "hostName": "alarch",
      "homeDir": "/home/alex/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/usr/bin/bash"
    },
    "stat": 0.008258000016212463
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.00035900063812732697
  },
  {
    "type": "OS",
    "result": {
      "buildID": "rolling",
      "codename": "",
      "id": "arch",
      "idLike": "",
      "name": "Arch Linux",
      "prettyName": "Arch Linux",
      "variant": "",
      "variantID": "",
      "version": "",
      "versionID": ""
    },
    "stat": 0.030881999991834164
  },
  {
    "type": "Host",
    "result": {
      "family": "Latitude",
      "name": "Latitude 5421",
      "version": "",
      "sku": "0A66",
      "vendor": "Dell Inc.",
      "serial": "",
      "uuid": ""
    },
    "stat": 0.08527399972081184
  },
  {
    "type": "BIOS",
    "result": {
      "date": "12/12/2024",
      "release": "1.36",
      "vendor": "Dell Inc.",
      "version": "1.36.1",
      "type": "UEFI"
    },
    "stat": 0.03189399931579828
  },
  {
    "type": "Bootmgr",
    "result": {
      "name": "GRUB",
      "firmware": "\\EFI\\GRUB\\grubx64.efi",
      "order": 5,
      "secureBoot": false
    },
    "stat": 0.7478489996865392
  },
  {
    "type": "Board",
    "result": {
      "name": "0VVF47",
      "vendor": "Dell Inc.",
      "version": "A00",
      "serial": ""
    },
    "stat": 0.04088300000876188
  },
  {
    "type": "Chassis",
    "result": {
      "type": "Notebook",
      "vendor": "Dell Inc.",
      "version": "",
      "serial": ""
    },
    "stat": 0.04149500001221895
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "x86_64",
      "name": "Linux",
      "release": "6.14.5-arch1-1",
      "version": "#1 SMP PREEMPT_DYNAMIC Sat, 03 May 2025 13:34:12 +0000",
      "displayVersion": "",
      "pageSize": 4096
    },
    "stat": 0.0018420005217194557
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "257.5-2-arch",
      "pid": 1
    },
    "stat": 0.5226880004629493
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 27112710,
      "bootTime": "2025-05-11T15:09:36.155+0200"
    },
    "stat": 0.055025000125169754
  },
  {
    "type": "Loadavg",
    "result": [
      2.47,
      2.34,
      2.2
    ],
    "stat": 0.012248000130057335
  },
  {
    "type": "Processes",
    "result": 335,
    "stat": 0.5016149999573827
  },
  {
    "type": "Packages",
    "result": {
      "all": 1177,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 5,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 1172,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "qi": 0,
      "macports": 0,
      "rpm": 0,
      "scoop": 0,
      "snap": 0,
      "soar": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 0.5891800001263618
  },
  {
    "type": "Shell",
    "result": {
      "exe": "/usr/bin/bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 119264,
      "ppid": 119257,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.2.37",
      "tty": 0
    },
    "stat": 1.7503230003640056
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.004376000724732876
  },
  {
    "type": "Display",
    "result": [
      {
        "id": 211213632613,
        "name": "AUO243D",
        "primary": false,
        "output": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 60.049
        },
        "scaled": {
          "width": 1920,
          "height": 1080
        },
        "preferred": {
          "width": 1920,
          "height": 1080,
          "refreshRate": 60.049
        },
        "physical": {
          "width": 310,
          "height": 170
        },
        "rotation": 0,
        "bitDepth": 0,
        "hdrStatus": "Unsupported",
        "type": "Builtin",
        "manufactureDate": {
          "year": 2018,
          "week": 0
        },
        "serial": null,
        "platformApi": "wayland-zwlr"
      }
    ],
    "stat": 3.2938339998945594
  },
  {
    "type": "Brightness",
    "result": [
      {
        "name": "AUO243D",
        "max": 96000.0,
        "min": 0.0,
        "current": 33600.0,
        "builtin": true
      }
    ],
    "stat": 0.06260699965059757
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0007409993559122086
  },
  {
    "type": "LM",
    "result": {
      "service": "ly",
      "type": "Wayland",
      "version": ""
    },
    "stat": 0.01525299996137619
  },
  {
    "type": "DE",
    "error": "No DE found",
    "stat": 0.00045999977737665176
  },
  {
    "type": "WM",
    "result": {
      "processName": "Hyprland",
      "prettyName": "Hyprland",
      "protocolName": "Wayland",
      "pluginName": "",
      "version": "0.48.1"
    },
    "stat": 0.010738999582827091
  },
  {
    "type": "WMTheme",
    "error": "Unknown WM: Hyprland",
    "stat": 0.0019020000472664833
  },
  {
    "type": "Theme",
    "error": "No themes found",
    "stat": 0.07917599938809872
  },
  {
    "type": "Icons",
    "error": "No icons could be found",
    "stat": 0.0008219992741942406
  },
  {
    "type": "Font",
    "error": "No fonts found",
    "stat": 0.0019600000232458115
  },
  {
    "type": "Cursor",
    "result": {
      "theme": "Adwaita",
      "size": ""
    },
    "stat": 0.016774000599980354
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.0007459996268153191
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "kitty",
      "exe": "kitty",
      "exeName": "kitty",
      "exePath": "/usr/bin/kitty",
      "pid": 119257,
      "ppid": 1,
      "prettyName": "kitty",
      "version": "0.41.1",
      "tty": ""
    },
    "stat": 0.04542999994009733
  },
  {
    "type": "TerminalFont",
    "result": {
      "font": {
        "name": "JetBrainsMonoNF-Regular",
        "size": "12",
        "styles": [],
        "pretty": "JetBrainsMonoNF-Regular (12pt)"
      },
      "fallback": {
        "name": "",
        "size": "",
        "styles": [],
        "pretty": ""
      }
    },
    "stat": 3.436331999488175
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 95,
      "rows": 23,
      "width": 950,
      "height": 506
    },
    "stat": 0.011997000314295292
  },
  {
    "type": "TerminalTheme",
    "result": {
      "fg": {
        "r": 230,
        "g": 225,
        "b": 220,
        "dark": false
      },
      "bg": {
        "r": 20,
        "g": 20,
        "b": 35,
        "dark": true
      }
    },
    "stat": 3.1755670001730323
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "11th Gen Intel(R) Core(TM) i7-11850H",
      "vendor": "GenuineIntel",
      "packages": 1,
      "cores": {
        "physical": 8,
        "logical": 16,
        "online": 16
      },
      "frequency": {
        "base": 2500,
        "max": 4800
      },
      "coreTypes": [
        {
          "count": 16,
          "freq": 2500
        }
      ],
      "temperature": 58.0
    },
    "stat": 1.3258969997987151
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 49152,
          "num": 8,
          "lineSize": 64,
          "type": "data"
        },
        {
          "size": 32768,
          "num": 8,
          "lineSize": 64,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 1310720,
          "num": 8,
          "lineSize": 64,
          "type": "unified"
        }
      ],
      "l3": [
        {
          "size": 25165824,
          "num": 1,
          "lineSize": 64,
          "type": "unified"
        }
      ]
    },
    "stat": 2.0643009999766946
  },
  {
    "type": "CPUUsage",
    "result": [
      10.0,
      0.0,
      5.0,
      0.0,
      20.0,
      0.0,
      15.789473684210526,
      23.809523809523807,
      20.0,
      0.0,
      0.0,
      15.0,
      0.0,
      4.761904761904762,
      0.0,
      10.526315789473683
    ],
    "stat": 200.27641199994832
  },
  {
    "type": "GPU",
    "result": [
      {
        "index": null,
        "coreCount": 32,
        "coreUsage": null,
        "memory": {
          "dedicated": {
            "total": 0,
            "used": 0
          },
          "shared": {
            "total": 33363185664,
            "used": 0
          },
          "type": null
        },
        "driver": "i915",
        "name": "UHD Graphics",
        "temperature": null,
        "type": "Integrated",
        "vendor": "Intel",
        "platformApi": "DRM (card1)",
        "frequency": 1450,
        "deviceId": 20
      }
    ],
    "stat": 1.8381010005250573
  },
  {
    "type": "Memory",
    "result": {
      "total": 33363185664,
      "used": 6208798720
    },
    "stat": 0.018801999278366566
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.008315999992191792
  },
  {
    "type": "Swap",
    "result": {
      "total": 8589930496,
      "used": 0
    },
    "stat": 0.006861000321805477
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 89546391552,
          "free": 100300587008,
          "total": 210241560576,
          "used": 109940973568
        },
        "files": {
          "total": 13107200,
          "used": 943182
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/nvme0n1p3",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2024-12-13T17:17:59.000+0100"
      },
      {
        "bytes": {
          "available": 829489152,
          "free": 829489152,
          "total": 1071628288,
          "used": 242139136
        },
        "files": {
          "total": null,
          "used": null
        },
        "filesystem": "vfat",
        "mountpoint": "/boot",
        "mountFrom": "/dev/nvme0n1p1",
        "name": "",
        "volumeType": [
          "Hidden"
        ],
        "createTime": null
      }
    ],
    "stat": 0.17094300035387278
  },
  {
    "type": "Btrfs",
    "result": [],
    "stat": 0.006112999282777309
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.120040999725461
  },
  {
    "type": "Battery",
    "result": [
      {
        "capacity": 58.0,
        "manufacturer": "SMP",
        "manufactureDate": "",
        "modelName": "DELL 0P3TJYK",
        "status": "Charging, AC Connected",
        "technology": "Li-poly",
        "serial": "2708",
        "temperature": null,
        "cycleCount": 0
      }
    ],
    "stat": 8.935163999907672
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.8903289996087551
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.0006699999794363976
  },
  {
    "type": "Media",
    "result": {
      "song": {
        "name": "Vienna Calling",
        "artist": "Falco",
        "album": "Falco 3",
        "status": "Playing"
      },
      "player": {
        "name": "Spotify",
        "id": "spotify",
        "url": "https://open.spotify.com/track/6tetorrFfVEwugqcgfwEm1"
      }
    },
    "stat": 1.3863929994404316
  },
  {
    "type": "PublicIp",
    "result": {
      "ip": "--------",
      "location": "-------"
    },
    "stat": 0.06577200070023537
  },
  {
    "type": "LocalIp",
    "result": [
      {
        "name": "wlp0s20f3",
        "defaultRoute": true,
        "ipv4": "192.168.0.145/24",
        "ipv6": "2a02:908:1086:1440::f2d7/128,2a02:908:1086:1440:21ba:6c03:888d:9627/64,fe80::91cf:6d1a:7dc6:8277/64",
        "mac": "7c:21:4a:9e:2a:dc",
        "mtu": 1500,
        "speed": -1,
        "flags": "UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP"
      }
    ],
    "stat": 0.0879899999126792
  },
  {
    "type": "DNS",
    "result": [
      "192.168.0.1",
      "2a02:908:2:b::1",
      "2a02:908:2:a::1"
    ],
    "stat": 0.013279000297188759
  },
  {
    "type": "Wifi",
    "result": [
      {
        "inf": {
          "description": "wlp0s20f3",
          "status": "up"
        },
        "conn": {
          "status": "connected",
          "ssid": "Pisconetwork",
          "bssid": "70:DF:F7:D3:8D:42",
          "protocol": "",
          "security": "WPA2",
          "signalQuality": 100.0,
          "rxRate": null,
          "txRate": 1200.9,
          "channel": 60,
          "frequency": 5300
        }
      }
    ],
    "stat": 2.7868990004062653
  },
  {
    "type": "DateTime",
    "result": "2025-05-11T22:41:29.098+0200",
    "stat": 0.019466000609099865
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8",
    "stat": 0.003205999732017517
  },
  {
    "type": "Vulkan",
    "error": "ffvkCreateInstance() failed: VK_ERROR_INCOMPATIBLE_DRIVER",
    "stat": 0.35979400016367435
  },
  {
    "type": "OpenGL",
    "error": "Fastfetch was built without gl support.",
    "stat": 0.0020340001210570335
  },
  {
    "type": "OpenCL",
    "error": "clGetPlatformIDs() failed: CL_PLATFORM_NOT_FOUND_KHR",
    "stat": 0.09518099948763847
  },
  {
    "type": "Users",
    "result": [
      {
        "name": "alex",
        "hostName": "",
        "sessionName": "tty2",
        "clientIp": "",
        "loginTime": "2025-05-11T17:06:24.460+0200"
      }
    ],
    "stat": 0.03802600037306547
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.01126800011843443
  },
  {
    "type": "BluetoothRadio",
    "result": [
      {
        "name": "",
        "address": "",
        "lmpVersion": null,
        "lmpSubversion": null,
        "vendor": "Unknown",
        "enabled": false,
        "discoverable": false,
        "connectable": true
      }
    ],
    "stat": 0.9758230000734329
  },
  {
    "type": "Sound",
    "result": [
      {
        "active": true,
        "main": true,
        "volume": 100,
        "name": "Built-in Audio Analog Stereo",
        "identifier": "alsa_output.pci-0000_00_1f.3.analog-stereo",
        "platformApi": "PipeWire 1.4.2"
      }
    ],
    "stat": 4.5727110002189875
  },
  {
    "type": "Camera",
    "result": [
      {
        "name": "Integrated_Webcam_FHD: Integrat",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:00:14.0-3",
        "width": 1920,
        "height": 1080
      },
      {
        "name": "Integrated_Webcam_FHD: Integrat",
        "vendor": "",
        "colorSpace": "sRGB",
        "id": "usb-0000:00:14.0-3",
        "width": 640,
        "height": 360
      }
    ],
    "stat": 95.60727100074291
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.05630000028759241
  },
  {
    "type": "Mouse",
    "result": [
      {
        "serial": "9CP12237Z2",
        "name": "HP OMEN Vector Wireless Mouse Dongle"
      },
      {
        "serial": "",
        "name": "DELL0A66:00 06CB:CE65 Touchpad"
      },
      {
        "serial": "",
        "name": "ELAN900C:00 04F3:2846"
      },
      {
        "serial": "",
        "name": "PS/2 Generic Mouse"
      },
      {
        "serial": "",
        "name": "DELL0A66:00 06CB:CE65 Mouse"
      }
    ],
    "stat": 0.14234900008887053
  },
  {
    "type": "Keyboard",
    "result": [
      {
        "serial": "",
        "name": "AT Translated Set 2 keyboard"
      }
    ],
    "stat": 0.11031800042837858
  },
  {
    "type": "Weather",
    "result": "+17°C - Sunny (Kassel, Germany)",
    "stat": 0.12732100021094084
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "wlp0s20f3",
        "defaultRoute": true,
        "txBytes": 869,
        "rxBytes": 1316,
        "txPackets": 9,
        "rxPackets": 9,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 663.2092260001227
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "PC711 NVMe SK hynix 512GB",
        "devPath": "/dev/nvme0n1",
        "bytesRead": 0,
        "bytesWritten": 90112,
        "readCount": 0,
        "writeCount": 20
      }
    ],
    "stat": 0.13043300062417984
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "PC711 NVMe SK hynix 512GB",
        "devPath": "/dev/nvme0n1",
        "interconnect": "NVMe",
        "kind": "SSD",
        "size": 512110190592,
        "serial": "   FJACN61801090CL3G",
        "removable": false,
        "readOnly": false,
        "revision": "41001131",
        "temperature": 44.85
      }
    ],
    "stat": 8.685980999842286
  },
  {
    "type": "TPM",
    "result": {
      "version": "2.0",
      "description": ""
    },
    "stat": 0.0469990000128746
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "x86_64",
      "version": "2.42.0",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "May  1 2025, 19:36:25",
      "compiler": "gcc 15.1.1",
      "debugMode": false,
      "libc": "glibc 2.41"
    },
    "stat": 0.0012929998338222504
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.001875000074505806
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0006670001894235611
  }
]

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
sqlite3
opencl
libpulse
libddcutil
libelf
libzfs
Directx Headers
System yyjson
linux/videodev2
linux/wireless

LecheConGrumos avatar May 11 '25 20:05 LecheConGrumos

Does this issue happen when you create kitty tabs (Ctrl+Shift+T)?

CarterLi avatar May 13 '25 08:05 CarterLi

Does this issue happen when you create kitty tabs (Ctrl+Shift+T)?

No

LecheConGrumos avatar May 13 '25 10:05 LecheConGrumos

Does sleep 10 before running fastfetch work?

CarterLi avatar May 13 '25 10:05 CarterLi

I'm struggling to do that, since it only happens whenever i create a kitty instance with --hold option, and i can't seem to figure out how to execute sleep before fastfetch within the --hold, how would you do that?

LecheConGrumos avatar May 13 '25 10:05 LecheConGrumos