Commit Graph

44 Commits

Author SHA1 Message Date
Gokcehan
90b3b166e1 import tcell/v2 from gitlab.com/Provessor/lfp 2020-12-04 23:59:12 +03:00
Provessor
24f01f4988
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
2020-09-01 15:42:44 +03:00
Doron Behar
6693709f36
Use doronbehar's fork of termbox (#311) 2020-03-20 21:59:30 +03:00
Daniel Martí
50ac367626 fix ineffective breaks, remove unused parameters (#210)
While at it, simplify a few pieces of code.
2019-08-12 14:52:27 +03:00
Gokcehan
193285a65d add 'echomsg' and 'echoerr' commands for logging 2019-02-28 21:58:14 +03:00
Gokcehan
599ac11f26 cleanup 2019-02-26 21:27:04 +03:00
Gokcehan
fd1af47233 initialize termbox before logging
Related #138
2019-02-18 14:18:02 +03:00
Gokcehan
4a1388a5c7 read configuration after initialization 2019-02-09 00:55:11 +03:00
Gokcehan
92e994ebf6 Revert "only echo when the output pauses in shell-pipe"
This reverts commit dd6a85f480.
2019-02-09 00:48:23 +03:00
Gokcehan
dd6a85f480 only echo when the output pauses in shell-pipe 2019-02-08 19:06:37 +03:00
Gokcehan
d8b9bab3ea add 'color256' option to control color mode
Related #104
2019-01-08 22:47:41 +03:00
Gokcehan
9234bcd5b8 try to reconnect after sleep 2018-07-26 22:11:05 +03:00
Gokcehan
7dbb61f295 try to reconnect when server is not yet started
Related #106
2018-07-26 21:58:09 +03:00
Gokcehan
cdf4fcb810 write history to history file on quit
Related #81
2018-07-12 21:22:36 +03:00
Gokcehan
211bcd0444 write marks to marks file on quit
Related #76
2018-07-11 20:09:26 +03:00
Gokcehan
638d67c0e4 read system-wide configuration at '/etc/lfrc' 2018-06-28 19:44:50 +03:00
Gokcehan
d987c9e439 rename yank-delete-put to copy-cut-paste 2018-06-27 21:17:56 +03:00
Gokcehan
a85e0da9b0 cleanup 2018-05-20 20:30:41 +03:00
Gokcehan
03619c3cbb handle command counts efficiently
Related #66
2018-04-12 18:04:37 +03:00
Chris Howey
ec8e75ba30 make terminal 256 color output the default (#93)
this will allow terminals that support 256 color ansi codes to have
preview applications use 256 colors
2018-01-01 01:10:00 +03:00
Gokcehan
9b7bf63096 cleanup 2017-11-19 21:55:13 +03:00
Gokcehan
466829e73b make remote flag handle save/load commands 2017-09-17 14:48:27 +03:00
Gokcehan
74078f6111 use newlines in communication protocol
Mentioned in #12 and #47.
2017-07-24 23:55:44 +03:00
Gokcehan
e654700bd2 use tcp sockets on windows
Mentioned in #12.
2017-07-23 17:14:50 +03:00
Gokcehan
6047255449 Revert "read response in remote commands"
This reverts commit 46a4378531.
2017-02-11 16:45:23 +03:00
Gokcehan
46a4378531 read response in remote commands 2017-02-11 16:06:45 +03:00
Gokcehan
b790c53838 initialize server channel earlier for config file
Mentioned in #36.
2017-02-11 13:42:16 +03:00
Gokcehan
0298630114 add remote flag to send remote commands to server
Mentioned in #45.
2016-12-19 21:28:57 +03:00
Gokcehan
a717c31ca1 cleanup 2016-12-18 21:34:41 +03:00
Gokcehan
e532db082f use lowercase initials for type names 2016-12-18 00:47:37 +03:00
Gokcehan
91ad00a294 remove client log file on successful quit 2016-11-22 21:01:29 +03:00
Gokcehan
fdf8e9d480 send the actual passed cmd in sendServer 2016-11-18 23:38:38 +03:00
Gokcehan
3b5759efba sync with server on startup
Mentioned in #13 and #36.
2016-11-10 23:43:54 +03:00
Gokcehan
428f9e3dcb sync all clients in yank/delete
Mentioned in #13 and #36.
2016-11-10 23:32:46 +03:00
Gokcehan
23f89f7c7f use single line strings for file list save and load 2016-11-06 21:32:14 +03:00
Gokcehan
a2cc32c908 implement a send command for remove commands
Mentioned in #36.
2016-11-06 17:06:25 +03:00
Gokcehan
2f574962bc implement remote ping command 2016-10-30 02:20:35 +03:00
Gokcehan
1e0b558344 use a seperate goroutine/channel for quit 2016-10-27 22:24:42 +03:00
Gokcehan
d36e272272 show latest error in the config file at init 2016-10-16 21:27:40 +03:00
Gokcehan
5d0dfcde79 check some syntax errors in parser 2016-10-16 14:19:19 +03:00
Gokcehan
155fbc5a16 load first file on startup 2016-09-18 12:58:32 +03:00
Gokcehan
6094078185 buffer file and dir previews for drawing
Mentioned in #5.
2016-09-15 16:28:36 +03:00
Gokcehan
2f224240bf suppress error if configuration file not exists 2016-08-17 22:35:18 +03:00
Gokcehan
4b266c97e9 initial commit 2016-08-13 15:49:04 +03:00