Commit Graph

1543 Commits

Author SHA1 Message Date
sawka
56a91a9601 update packaging to create a packaged electron app for frontend 2022-11-01 00:07:25 -07:00
sawka
7b11999d29 electron packaging 2022-10-31 16:41:44 -07:00
sawka
cd0a65f120 update to electron v19.1.3 2022-10-31 14:59:31 -07:00
sawka
d5142a1eb9 update packages 2022-10-31 12:51:25 -07:00
sawka
d9163d6af4 use log.Printf, ensure sc home dir 2022-10-31 12:40:45 -07:00
sawka
d6ba16613c store migrations in go source (via embed) 2022-10-31 12:24:21 -07:00
sawka
ebb196f164 send initial local server status 2022-10-30 13:06:25 -07:00
sawka
f35adf1da0 watch stdin, kill server is stdin is closed 2022-10-30 13:05:53 -07:00
sawka
4078cb1f1e local server control 2022-10-30 12:53:39 -07:00
sawka
8939c57dd8 minor, add isempty func for shellstate 2022-10-30 12:52:58 -07:00
sawka
260fc2d313 working on server control and packaging 2022-10-30 12:52:40 -07:00
sawka
9027edc0e1 disconnected modal 2022-10-28 14:17:45 -07:00
sawka
29dbf5dde9 runcommand now sets the state at the time of execution 2022-10-27 22:52:38 -07:00
sawka
bba43c8540 minor css update 2022-10-27 22:24:22 -07:00
sawka
31a38cbdae state updates (yay) 2022-10-27 22:22:17 -07:00
sawka
2df33621fd stateful commands block other commands while they are running, introduce waiting state 2022-10-27 22:00:10 -07:00
sawka
1da450e61c implement reinit, also do not store 'columns' var 2022-10-27 21:59:17 -07:00
sawka
56259e3f05 fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal 2022-10-27 17:10:36 -07:00
sawka
f8d23a68f3 minor update 2022-10-27 15:25:58 -07:00
sawka
bb7f475055 updates for rtnstate 2022-10-27 00:36:03 -07:00
sawka
e5d2267f27 minor updates to get state to be consistent 2022-10-27 00:34:16 -07:00
sawka
0060c8ffc2 big update to handle cmd returnstate (still need to process new state with donepacket) 2022-10-27 00:33:50 -07:00
sawka
d50ed6ca6c work on evalbracketargs 2022-10-26 14:51:12 -07:00
sawka
cabf8a50ff updates for new shellvars 2022-10-25 12:31:29 -07:00
sawka
245a1995e2 parse shellvariables with args 2022-10-25 12:31:07 -07:00
sawka
c9195b3cfd move some sh parsing to shexec 2022-10-24 21:29:11 -07:00
sawka
674a6ef11e grab shell vars with export vars 2022-10-24 21:26:39 -07:00
sawka
5d6c77491f add shell parser 2022-10-24 15:35:01 -07:00
sawka
babf4f392a input modes 2022-10-22 23:54:46 -07:00
sawka
3b7dd7c01e working on source command 2022-10-22 14:46:39 -07:00
sawka
d8b5508b77 returnstate option for runpk (for sourcing files) 2022-10-22 14:45:31 -07:00
sawka
c0b3db19d4 cleanups for terminal interaction 2022-10-20 16:15:21 -07:00
sawka
caf8b1d151 use statediff for output for setenv, unset, and cd 2022-10-20 16:14:14 -07:00
sawka
e55f7fb4fe working with new static commands 2022-10-18 18:03:02 -07:00
sawka
fdc5a289a9 use packet.ShellState, send aliases and functions as part of state 2022-10-16 23:51:04 -07:00
sawka
b9c3940b99 big change to execution, run command as a script and set aliases/funcs 2022-10-16 23:46:59 -07:00
sawka
1c2c8c2f4d return defined bash aliases in initpk 2022-10-15 13:45:52 -07:00
sawka
4744eaa491 handle non-running terminal keypresses 2022-10-13 18:58:21 -07:00
sawka
f73baf440c fix scrollbars, lighten scrollbars when not focused 2022-10-13 16:09:26 -07:00
sawka
4892c45921 remove empty cursor line when terminal is not running 2022-10-12 13:57:15 -07:00
sawka
aa2e6b471b small updates for cmd-fg 2022-10-11 23:13:34 -07:00
sawka
c940c7b85b cmd-fg, update when cmd done back to input 2022-10-11 23:11:43 -07:00
sawka
5c8dabbb2c fixing focus bugs 2022-10-11 14:57:22 -07:00
sawka
a0de45949f better focus handling 2022-10-11 13:25:23 -07:00
sawka
61dac018fb allow negative numbers for anchor offset 2022-10-11 13:23:38 -07:00
sawka
0bf36be982 checkpoint, focusing cmds 2022-10-11 01:11:36 -07:00
sawka
62fc2594ef checkpoint cmd-fg 2022-10-11 01:11:04 -07:00
sawka
cb94936aad checkpoint on selection/fg model 2022-10-10 23:44:04 -07:00
sawka
d19f29c467 single-thread DB access. send selectedline updates for run/comment commands 2022-10-10 17:30:48 -07:00
sawka
8c01aa787b add focus indicator to comment lines 2022-10-10 17:29:59 -07:00