Starship and fastfetch propmt in tmux look strange

This is a pretty strange issue and I am not sure what to even search in the internet to resolve this… I will post pics to try and explain my problem.

How my terminal normally looks,

from inside tmux,

I am not sure why my fastfetch and starship prompt become blocky like this…
I have similar starship + fastfetch + fish/bash setup in wsl which works fine so my guess is something to do with foot itself then?

Edit:
No not foot’s problem even alacritty does the same…

does anybody have any idea what this weird effect is even called so that I can search the net for any results…

Thanks

System:
  Kernel: 6.11.6-0-clear arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@hypr/boot/vmlinuz-linux-clear
    root=UUID=e0a08d20-208f-444a-a6f0-281ffd8a1e1b rw rootflags=subvol=@hypr
    quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests
    initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check
    noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1
    rootfstype=btrfs tsc=reliable
    resume=UUID=1824b554-dd46-4e14-a85d-6aafd14791a7 loglevel=3
    acpi_backlight=video nvidia-drm.modeset=1 ibt=off
  Desktop: Hyprland v: 0.44.0-117-g81ad218b with: waybar tools:
    avail: swayidle,swaylock vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Convertible System: LENOVO product: 81X1 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required> Chassis: type: 31 v: IdeaPad Flex 5 14IIL05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0Q55722 WIN
    serial: <superuser required> part-nu: LENOVO_MT_81X1_BU_idea_FM_IdeaPad
    Flex 5 14IIL05 uuid: <superuser required> UEFI: LENOVO v: ECCN41WW
    date: 06/27/2022
Battery:
  ID-1: BAT0 charge: 12.6 Wh (35.6%) condition: 35.4/52.6 Wh (67.2%)
    power: 18.4 W volts: 11.9 min: 11.5 model: Sunwoda L19D3PD6 type: Li-poly
    serial: <filter> status: charging cycles: 2333
CPU:
  Info: model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake
    gen: core 10 level: v4 note: check built: 2019-21 process: Intel 10nm
    family: 6 model-id: 0x7E (126) stepping: 5 microcode: 0xC6
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 2 MiB
    desc: 4x512 KiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1189 min/max: 400/1300 scaling: driver: intel_pstate
    governor: performance cores: 1: 1189 2: 1189 3: 1189 4: 1189 5: 1189 6: 1189
    7: 1189 8: 1189 bogomips: 23961
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Iris Plus Graphics G7 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-11 process: Intel 10nm built: 2019-21 ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a52
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX330] vendor: Lenovo driver: N/A
    alternate: nvidiafb, nouveau, nvidia_drm, nvidia non-free: 550.xx+
    status: current (as of 2024-09; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 4
    bus-ID: 01:00.0 chip-ID: 10de:1d16 class-ID: 0302
  Device-3: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 5986:212a
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: Hyprland v: 0.44.0-117-g81ad218b driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1406 built: 2019 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 scale: 1.199219 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080
  API: Vulkan v: 1.3.295 layers: 12 device: 0 type: integrated-gpu
    name: Intel Iris Plus Graphics (ICL GT2) driver: mesa intel
    v: 24.2.6-arch1.1 device-ID: 8086:8a52 surfaces: xcb,xlib,wayland
    device: 1 type: cpu name: llvmpipe (LLVM 18.1.8 256 bits)
    driver: mesa llvmpipe v: 24.2.6-arch1.1 (LLVM 18.1.8)
    device-ID: 10005:0000 surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo
    driver: sof-audio-pci-intel-icl alternate: snd_hda_intel, snd_soc_avs,
    snd_sof_pci_intel_icl bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0401
  API: ALSA v: k6.11.6-0-clear status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ice Lake-LP PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:34f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 36 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0000
Drives:
  Local Storage: total: 476.94 GiB used: 92.91 GiB (19.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZALQ512HALU-000L2 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 3L1QFXV7 temp: 25.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 92.91 GiB (20.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 92.91 GiB (20.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 92.91 GiB (20.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 459.82 GiB size: 459.82 GiB (100.00%)
    used: 92.91 GiB (20.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.28 GiB used: 5.24 GiB (34.3%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc max-streams: 8
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.82 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.28 GiB used: 7.5 GiB (49.1%)
  Processes: 312 Power: uptime: 7d 23h 49m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 25 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 6.1 GiB services: thermald,upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1480 libs: 449 tools: paru Compilers:
    clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
    running-in: foot inxi: 3.3.36
Garuda (2.6.26-1):
  System install date:     2024-10-06
  Last full system update: 2024-11-13 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:            archlinux-keyring-wkd-sync.service 

can you try by changing the fonts to
JetbrainsMonoNL
in alacritty which is set by default in foot , maybe that can solve this :eyes:

I don’t have any idea of ‘tmux’
but I think it can be due to lack of sixel support in tmux and alacritty ,as a second guess

1 Like

tried and same result… I tried using kitty as well this time to no luck.

just in case,
my tmux config,

# enter copy mode in vi mode
setw -g mode-keys vi
set-option -g escape-time 0

# Start selection with 'v' in copy mode
bind-key -T copy-mode-vi v send-keys -X begin-selection

# Copy selected text with 'y'
bind-key -T copy-mode-vi y send-keys -X copy-selection

# Move between panes (tiles) using SUPER + h/j/k/l
bind -n M-H select-pane -L
bind -n M-J select-pane -D
bind -n M-K select-pane -U
bind -n M-L select-pane -R

# Move between windows using SUPER + 1/2/3...
bind -n M-! new-window -n 1  \; select-window -t 1
bind -n M-@ new-window -n 2  \; select-window -t 2
bind -n M-# new-window -n 3  \; select-window -t 3
bind -n M-$ new-window -n 4  \; select-window -t 4
bind -n M-% new-window -n 5  \; select-window -t 5
bind -n M-^ new-window -n 6  \; select-window -t 6
bind -n M-& new-window -n 7  \; select-window -t 7
bind -n M-* new-window -n 8  \; select-window -t 8
bind -n M-( new-window -n 9  \; select-window -t 9
bind -n M-) new-window -n 10 \; select-window -t 10

# Move left/right between windows with SUPER + left/right
bind -n M-left  select-window -p
bind -n M-right select-window -n

# Move the active pane to another window (like ALT SHIFT + [number])
bind -n M-> command-prompt -p "join pane from:"  "join-pane -s '%%'"
bind -n M-< command-prompt -p "send pane to:"  "join-pane -t '%%'"

# Unbind default Ctrl + h and Ctrl + v to stop automatic splitting
unbind -T root C-h
unbind -T root C-v

# Set vertical split to 'v' after pressing 'Ctrl + b'
bind v split-window -h

# Set horizontal split to 'h' after pressing 'Ctrl + b'
bind h split-window -v

# close pane
bind -n M-q kill-pane
# close window
bind -n M-Q kill-window

# Resize panes with ctrl + arrow keys
bind -n C-S-Left  resize-pane -L 5
bind -n C-S-Right resize-pane -R 5
bind -n C-S-Up    resize-pane -U 5
bind -n C-S-Down  resize-pane -D 5

ok finally found the solution for me,
https://stackoverflow.com/questions/67929676/tmux-powerline-symbols-not-rendering-properly-despite-having-proper-fonts-instal

not sure why this works properly in WSL not in my own linux machine but oh well I got workarounds now. :slight_smile:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.