Replace termbox-go with tcell (#439)

Fix colour construction issue

This also has a test to mitigate it in the future

Remove `colormode` option

The original issue it was trying to solve is no longer present with
tcell (it being a holdover from `color256` on termbox) so it is not
needed.

retire gitter channel in favor of irc/matrix

Export options as environment variables (#448)

* Export options as environment variables

Any options from gOpts are available via lf_OPTION environment
variables. For now it works only on booleans, integers and strings (no
array support)

* Do not export some of the options

* Add support for arrays and fix numbers

* Fix comments

* Replace 1 and 0 with true and false

* Export hidden,reverse,dirfirst and sortby options

* Fix comments

* Little fix

* Simplify boolean conversion

log readlink errors instead of fail

Related #447 and #374
This commit is contained in:
Provessor authored and GitHub committed 2020-09-01 15:42:44 +03:00
1 parent d25faf7186
commit 24f01f4988
16 files changed
+477 -419

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ module github.com/gokcehan/lf
go 1.12
require (
github.com/doronbehar/termbox-go v0.0.0-20200711071547-71407e3bfa14
github.com/gdamore/tcell v1.3.0
github.com/mattn/go-runewidth v0.0.9
gopkg.in/djherbis/times.v1 v1.2.0
)