yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
5.9k stars 126 forks source link

File preview breaks superfile display #232

Closed MrPandir closed 5 months ago

MrPandir commented 5 months ago

To Reproduce

  1. Download this file: https://github.com/nushell/nu_scripts/blob/main/custom-completions/less/less-completions.nu or https://github.com/nushell/nu_scripts/blob/main/custom-completions/nano/nano-completions.nu
  2. Open preview of this file in superfile

Screenshots

Screenshot 2024-06-02 at 21 03 37 Screenshot 2024-06-02 at 21 04 56

System information

yorukot commented 5 months ago

It counts Tabs as a string...

yorukot commented 5 months ago

This is a terrible fix but I don't have a better idea at the moment :(