Skip to content

Releases: kivattt/fen

v1.7.21

15 Mar 05:41
5cadd86
Compare
Choose a tag to compare

New features

  • fen.git_status is no longer an experimental feature, and can be enabled in the (o)ptions menu
  • Local Git repositories with untracked/unstaged changes are now shown with a sliver of red before its folder name
  • Added fen.file_size_format option, and the --file-size-format flag for changing the option on startup
  • Added --profile-cpu flag which generates a CPU profile .pprof file

Bug fixes

  • Fixed a bug on FreeBSD where negative free disk space would underflow and erroneously show something like 18.446 EB free
  • Fixed a fen.git_status bug where chmod changes weren't shown as an unstaged change (the file color wouldn't turn red)
  • Fixed fen.git_status buggy handling of git repos inside git repos. Now only the root repository is considered.
  • go test now works on Windows

Improvements

  • Improved error message for missing Lua file preview scripts
  • fen.git_status no longer stores unchanged Git repositories in memory anymore
  • fen.git_status will now show up to 50 local repositories changes at a time (used to be 15)

And a big thanks to @largenumberhere for refactoring work done to improve the code!

v1.7.20

12 Dec 02:36
fa20dae
Compare
Choose a tag to compare
  • Fixed a bug where selected files would draw over borders when fen.ui_borders was enabled
  • The Home/End keys no longer unnecessarily update the screen when pressing one would not move anywhere

Thanks to @largenumberhere for work done on code cleanup

v1.7.19

01 Dec 13:31
Compare
Choose a tag to compare
  • Added option fen.file_size_in_all_panes to show file sizes in all panes, not just the middle
  • Fixed a bug where toggling fen.hidden_files in the options menu would not update folder sizes
  • Fixed a bug where fen would crash after a while when left in an unmounted/deleted directory (see: fsnotify/fsnotify#655)
  • Ctrl+Right in Git repositories now correctly goes to the first changed non-folder closest to the root of the repository, instead of just selecting the shortest filepath
  • Put fen.git_status at the top of the options menu
  • Lowered the brightness of the "Options this session" title for the options menu, and made the left/center alignment change later

v1.7.18

23 Nov 01:46
Compare
Choose a tag to compare
  • Exit with exit code 2 for invalid command-line arguments, was previously 0

v1.7.17

23 Nov 01:27
Compare
Choose a tag to compare
  • Added option --close-on-escape, it is fen.close_on_escape in config.lua
  • Added missing description in --help for --hidden-files

v1.7.16

15 Nov 02:00
6f188d0
Compare
Choose a tag to compare
  • Folder file counts are now cached, improving performance
  • Added a "Can't rename with an empty name" error message
  • markdown.lua file preview script: Fixed the position of list characters when there's preceding whitespace

v1.7.15

10 Nov 00:31
f0f3b21
Compare
Choose a tag to compare
  • Fixed a crash when deleting multiple files

v1.7.14

09 Nov 00:24
a1cb11f
Compare
Choose a tag to compare
  • Added an options menu, open with the o key
  • No longer unnecessarily updates the screen when scrolling up/down when already at the top/bottom of the screen respectively
  • The red text in the file preview default blocklist message is now word-wrapped
  • go.mod.lua file preview script: Directives are colored orange, now colors all directives

v1.7.13

07 Nov 15:00
558ac3e
Compare
Choose a tag to compare
  • Mouse right-click now behaves the same as left-click
  • Ctrl+Right can now take you to the target path of symlinks
  • On Linux/FreeBSD, hovering over the top bar when --no-write is enabled now shows a "Copying unavailable" message
  • The "->" text indicating symlinks in file panes no longer disappears when its size is unknown

fen.git_status = true changes:

  • Fixed a bug introduced in release v1.7.11 where Ctrl+Right considered folders changed files, making it sometimes not select an unchanged file
  • Fixed a bug introduced in release v1.7.11 where sometimes only the parent folder of a changed file would be shown in red

v1.7.12

05 Nov 10:34
d3592e9
Compare
Choose a tag to compare
  • Fixed a bug where fen.config_path in config.lua and fen.ConfigPath in file open scripts would not respect the --config command-line flag
  • Improved installation instructions in the README

Lua file preview script changes:

  • Added a .gitignore file preview script gitignore.lua
  • go.mod.lua Comments are now colored teal
  • go.mod.lua has less distracting colors
  • markdown.lua Fixed a bug where backtick strings would not stop at the end of lines with a trailing backslash