Commit Graph

61 Commits

Author SHA1 Message Date
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
245db502cc execute multiple commands with command flag
Related #135
2019-02-08 19:54:04 +03:00
Gokcehan
dd6a85f480 only echo when the output pauses in shell-pipe 2019-02-08 19:06:37 +03:00
Daniel Lewan
0fc14e3b2d add option to execute command on server initialization (#135) 2019-02-06 14:56:06 +03:00
Gokcehan
b101603a4a Revert "only draw ui when the output pauses in shell-pipe"
This reverts commit 8229d972b9.
2018-12-03 15:43:12 +03:00
Gokcehan
8229d972b9 only draw ui when the output pauses in shell-pipe 2018-11-08 20:00:54 +03:00
Gokcehan
266a583adb use load instead of reload after shell-pipe
Related #109
2018-08-27 19:01:21 +03:00
Gokcehan
b22384d634 keep index when selection is deleted
Related #109
2018-08-27 18:57:55 +03:00
Gokcehan
011cca76d1 add find commands to find as you type
Related #68
2018-08-22 20:05:22 +03:00
Gokcehan
e82cbb820f export 'LF_LEVEL' variable for nested instances
Related #107
2018-07-28 16:52:54 +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
a80900f41e rename mark to selection 2018-07-09 21:22:10 +03:00
Gokcehan
5787ecd1bd add default environmental variables 2018-06-28 21:51:24 +03:00
Gokcehan
723357fe3d add 'period' option for periodic refresh
Related #73
2018-06-09 22:02:09 +03:00
Gokcehan
a85e0da9b0 cleanup 2018-05-20 20:30:41 +03:00
Gokcehan
d9761d2dc8 rename 'hist' to 'history' 2018-05-16 00:16:49 +03:00
Gokcehan
d608eb4a56 handle resize events properly 2018-04-15 18:18:39 +03:00
Gokcehan
03619c3cbb handle command counts efficiently
Related #66
2018-04-12 18:04:37 +03:00
Gokcehan
54315ffde2 clear output on 'cmd-enter' with 'shell-pipe' 2018-04-06 22:22:38 +03:00
Gokcehan
bdf20aa451 handle carriage return in 'shell-pipe' output 2018-04-06 15:06:25 +03:00
Gokcehan
847c46421c fix race while drawing ui in 'shell-pipe' 2018-04-05 23:06:52 +03:00
Gokcehan
e55c490bf5 add 'cmd-interrupt' command to kill current shell 2018-04-03 22:56:38 +03:00
Gokcehan
c63c8f63ac pipe stdin for 'shell-pipe' commands 2018-04-03 22:22:58 +03:00
Gokcehan
32d729eac1 add a new shell type displaying the output 2018-03-26 21:22:18 +03:00
Gokcehan
55ef28b4c7 cache file previews in memory
Related #5 and #92
2018-02-10 18:59:19 +03:00
Gokcehan
80f43fe39c preview files asynchronously
Mentioned in #5 and #92.
2018-01-28 20:13:28 +03:00
Gokcehan
59b2001253 renew directories asynchronously
Mentioned in #92.
2018-01-27 00:28:07 +03:00
Gokcehan
2b4c0f913b load directories asynchronously
Mentioned in #92.
2018-01-11 19:25:48 +03:00
Gokcehan
9b7bf63096 cleanup 2017-11-19 21:55:13 +03:00
Gokcehan
458bc71688 use conditional compilation for windows 2017-08-05 19:23:55 +03:00
Gokcehan
eb2710c888 use cmd.exe as default shell on windows
Mentioned in #12.
2017-08-02 20:08:49 +03:00
Gokcehan
6631cdb23b use cmd.exe pause command for waiting on windows
Mentioned in #12.
2017-08-02 20:08:17 +03:00
Gokcehan
9962b378a8 add commands history
Mentioned in #81.
2017-05-15 12:30:50 +03:00
Gokcehan
52fbe460b7 update preview after shell commands
Mentioned in #64 and #71.
2017-04-09 18:18:02 +03:00
Gokcehan
b790c53838 initialize server channel earlier for config file
Mentioned in #36.
2017-02-11 13:42:16 +03:00
Gokcehan
ad6ead5e45 add a filesep option to configure file seperator
Mentioned in #47.
2016-12-24 16:06:44 +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
5f87cb2542 implement asynchronous read commands
This commit changes previous reading command implementation to an
asynchronous implementation. By the nature of this change, this commit
touches many places in the ui and evaluator. Aim is to fix the following
problems:

- There is no race condition anymore when reading commands and other
commands update the ui at the same time.

- Autocompletion and keymenu is now drawn in the main draw event. This
should fix some ui glitches when a new menu is smaller than the previous
one.

- Window resize event when reading a command is now properly handled.

- Readline actions are now regular commands. This should make it
possible to change the default keybindings for these actions in the
future.

Mentioned in #36.
2016-12-15 12:26:06 +03:00
Gokcehan
e643525d5c use a buffered channel for quitting 2016-11-22 20:42:37 +03:00
Gokcehan
d19809e8b6 evaluate search while reading 2016-11-14 01:16:52 +03:00
Gokcehan
bd8f215c55 load file after shell commands 2016-11-12 14:33:59 +03:00
Gokcehan
1511e05a2c comment 2016-11-06 23:25:59 +03:00
Gokcehan
6008bef959 move readExpr from ui to app 2016-11-06 23:10:42 +03:00
Gokcehan
4891a87d11 pass client id as id variable for shell commands
Mentioned in #36.
2016-11-06 18:19:48 +03:00
Gokcehan
daff377f2d create server expression channel for only successful connections
Mentioned in #42.
2016-11-06 17:08:16 +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