Commit Graph

554 Commits

Author SHA1 Message Date
sawka
82819bbe94 updating selectedline will now scroll the window 2022-10-10 12:45:57 -07:00
sawka
c5e3de9fdc add static version of font-awesome 4.7 2022-10-10 12:19:19 -07:00
sawka
051110cdc1 fix font loading 2022-10-10 12:08:29 -07:00
sawka
05592bda4c big overhaul of scrollsync and term loading code for UI 2022-10-07 18:25:47 -07:00
sawka
e7ceecee5b l-cmd model update 2022-10-07 14:37:25 -07:00
sawka
0053ebbfa9 add cmd-l listener 2022-10-07 14:36:34 -07:00
sawka
82e88d2f61 use refs 2022-10-07 11:32:58 -07:00
sawka
ab31aecf90 working on line selection / fg commands 2022-10-07 01:08:52 -07:00
sawka
271dde4d1d checkpoint on screen window changes 2022-10-06 18:35:01 -07:00
sawka
1939cba14f use static font files, checkpoint on focus-indicator for lines 2022-10-06 15:40:53 -07:00
sawka
4e5c1aab1c fix termsize calculations for canvas renderer 7.2px not 8px 2022-10-06 15:17:48 -07:00
sawka
7c0476350d checkpoint 2022-10-06 14:00:24 -07:00
sawka
61071de644 checkpoint -- fg/focus 2022-10-04 13:53:04 -07:00
sawka
788ef1f33d archive remote button (with confirm). edit remote button in remote:show 2022-10-04 11:15:35 -07:00
sawka
0173cbce23 reset pw 2022-10-04 10:52:55 -07:00
sawka
4e76514f1b edit remote checkpoint 2022-10-03 19:05:52 -07:00
sawka
b91bf6bd20 checkpoint, visual editing of remotes 2022-10-03 12:25:55 -07:00
sawka
1cc58944b8 UI for waiting for password 2022-09-30 17:23:28 -07:00
sawka
0b0b7307ba remote showall dialog 2022-09-30 15:42:10 -07:00
sawka
0821e35a37 checkpoint on remote:add/edit 2022-09-30 14:57:23 -07:00
sawka
b981aafb1a merge 2022-09-26 23:25:12 -07:00
sawka
594c3472e3 remote install 2022-09-26 23:24:15 -07:00
sawka
392a7bebdd fix primary display bounds calculation 2022-09-26 11:50:02 -07:00
sawka
49f2611764 save/restore window pos/size 2022-09-25 00:25:31 -07:00
sawka
aa0f9d98d1 stub remote show all 2022-09-24 19:53:06 -07:00
sawka
121da87eea refactor inforemoteshow out of info 2022-09-22 21:20:37 -07:00
sawka
c63108a841 show mshellversion/uname in remote:show 2022-09-21 23:31:03 -07:00
sawka
f3e61fb41d stub out add remote 2022-09-21 22:42:51 -07:00
sawka
52bad72ead minor fix for remotes display 2022-09-21 22:17:04 -07:00
sawka
eb143b612f move width to ScreenWindowView, and only do a setcols to ScreenWindow model object (debounce moved to view as well) 2022-09-21 17:20:16 -07:00
sawka
6135a4540e add nextlinenum to window 2022-09-20 17:01:40 -07:00
sawka
c39a7ed0f8 use linenum and linenumtemp to display avatar linenum 2022-09-20 16:51:42 -07:00
sawka
abe8cc6f2a on connect message, reset session and remote information completely (clear lists) 2022-09-20 16:42:41 -07:00
sawka
bc09722ef3 use mono-font mixin 2022-09-20 14:46:53 -07:00
sawka
3b5a428542 mono-font for remotes 2022-09-20 14:41:56 -07:00
sawka
fb51263ed3 manual minmax control for infomsg box 2022-09-16 16:37:54 -07:00
sawka
1d3d19b7c3 only allow input while connecting 2022-09-16 12:02:46 -07:00
sawka
44e014b1ae status connecting 2022-09-15 17:44:58 -07:00
sawka
b352c62397 handle remote input (can enter passwords now) 2022-09-15 17:10:02 -07:00
sawka
98d956b7c8 more progress on remotes 2022-09-15 00:37:52 -07:00
sawka
0e04a32e29 update to show remote pty in remoteshow window 2022-09-15 00:18:20 -07:00
sawka
ffb29fce1a termcontext for remoteid terminals 2022-09-14 22:41:27 -07:00
sawka
1a02bb53d0 refactor infomsg 2022-09-14 17:14:27 -07:00
sawka
40c52fd195 a click on a remote runs /remote:show 2022-09-14 13:02:33 -07:00
sawka
8d78e145be sort remotes, order by remoteidx and status 2022-09-14 12:07:31 -07:00
sawka
95f992b1c0 working on remote display, bug fixes 2022-09-13 17:17:52 -07:00
sawka
ecc737f68d fix crazy sessionid morphing bug, and add more debugging 2022-09-11 20:49:53 -07:00
sawka
677a60d735 unload terminals when they go out of view to save memory 2022-09-08 13:44:24 -07:00
sawka
400815a622 change signum to signame 2022-09-06 16:42:21 -07:00
sawka
8801ab147b force update usedRows when terminal is resized 2022-09-06 00:14:48 -07:00
sawka
f4ec8f85fa send window:resize command 2022-09-05 20:06:44 -07:00
sawka
bc476c3c23 working on resizing terminal to match window size 2022-09-05 17:21:31 -07:00
sawka
d6d7e8bb25 send connect from ws and get session/remotes updates 2022-09-05 12:42:48 -07:00
sawka
fb899cd458 read ptyoffset from header and initialize appropriately 2022-09-03 23:57:35 -07:00
sawka
225f120fbe move width from ScreenWindowView to ScreenWindow. pass termopts.cols in uicontext to cmdrunner 2022-09-03 23:39:50 -07:00
sawka
4a2b3cc381 remotes update in model update 2022-08-31 23:15:18 -07:00
sawka
3ab2023423 show global/session history 2022-08-31 13:29:59 -07:00
sawka
f2451329cd suppress Cmd-W (close window) 2022-08-31 13:29:06 -07:00
sawka
604ec459db pass size always to createMainWindow 2022-08-31 12:46:18 -07:00
sawka
bdf5e0fc09 filter history by remote 2022-08-31 12:00:53 -07:00
sawka
e2212ad661 history query opts 2022-08-31 00:02:16 -07:00
sawka
9ed993078d big update to get base history info panel working 2022-08-30 23:12:37 -07:00
sawka
087c0c4f1f history checkpoint 2022-08-30 17:05:35 -07:00
sawka
d037666ad1 checkpoint on history rendering 2022-08-30 15:25:51 -07:00
sawka
35a2fb71af checkpoint on layout of history info panel 2022-08-30 12:58:06 -07:00
sawka
8eab57e1ba checkpoint on history info panel, move info management to input model 2022-08-30 12:22:42 -07:00
sawka
387eda2a3d checkpoint on new historymodel 2022-08-29 21:58:04 -07:00
sawka
c4d45ef344 pageup/pagedown by page 'size' 2022-08-29 15:42:50 -07:00
sawka
b0b6f18cfb scroll lines, uicontext 2022-08-29 13:54:11 -07:00
sawka
b8311c4e77 prevent some info message flash when running commands. pass 'interactive' flag for commands run through cmdinput 2022-08-29 11:23:20 -07:00
sawka
15178248a2 history item types 2022-08-28 14:24:25 -07:00
sawka
3a8f3dab38 lines spacer to have content scroll up from bottom 2022-08-26 22:07:12 -07:00
sawka
9f794d6590 tab colors 2022-08-26 21:43:48 -07:00
sawka
152db74075 add merge to Screen object 2022-08-26 17:50:15 -07:00
sawka
c3d3647111 use new relative arguments for screen switching instead of computing it on FE 2022-08-26 17:35:36 -07:00
sawka
e75765ee11 sessions update for get-all-sessions, show sessionidx number and no hash sign 2022-08-26 17:28:56 -07:00
sawka
e677455419 fix typescript warnings 2022-08-25 12:12:56 -07:00
sawka
35179e06ec detect screen size 2022-08-24 22:32:43 -07:00
sawka
64fc0f335a fix overscroll behavior in xterm.js terminal and deal with focus in a better way. restore scrollbars for terminals. scroll focused terminals into view. 2022-08-24 19:00:03 -07:00
sawka
da710fc4c8 switch cmd to use RemotePtrType, make Prompt react class to display fullremoteref and cwd 2022-08-24 13:19:59 -07:00
sawka
2028a98784 remoteinstance naming change 2022-08-24 02:12:28 -07:00
sawka
3aeab9d427 show metacmd completions 2022-08-23 17:27:12 -07:00
sawka
e4bf68ca3b scrolling info box 2022-08-23 13:14:57 -07:00
sawka
d984a8f82a infolines 2022-08-22 18:54:01 -07:00
sawka
d61246e8a4 update to env0 2022-08-22 16:28:14 -07:00
sawka
db3f780275 autoconnect -> connectmode 2022-08-21 12:26:10 -07:00
sawka
f7796169f6 fix setCmd mobx.action call 2022-08-19 17:14:25 -07:00
sawka
739114045c use term.reset() not term.clear() 2022-08-19 16:38:24 -07:00
sawka
5dda89aa1a status display 2022-08-19 16:35:38 -07:00
sawka
e454c170f8 don't report parse errors to console (lots of invalid terminal output). e.g. cat'ing a binary file will produce thousands of errors, but that's just how it is. 2022-08-19 15:54:38 -07:00
sawka
b3a05ac72e update npm modules, add remotes modal 2022-08-18 00:39:06 -07:00
sawka
1914719ad1 proof of concept, file URL to open window using will-navigate 2022-08-17 13:32:02 -07:00
sawka
c6e29c3314 proof of concept, open window 2022-08-17 13:26:03 -07:00
sawka
5a835e927e update prompt for remotes, display remotes in sidebar 2022-08-17 13:06:47 -07:00
sawka
c310a4b9bc scrollintoview 2022-08-16 16:08:15 -07:00
sawka
cc058490b2 cmd-up cmd-down working, new line type, remotealias 2022-08-16 15:59:28 -07:00
sawka
7af1d5cee6 lazy loading, cached TUR values 2022-08-12 18:34:56 -07:00
sawka
b4e41bc36d better input handling -- expand textarea, fit textarea, up/down arrow control in textarea (w/ history) 2022-08-12 11:44:29 -07:00
sawka
b70d42bca4 implement command history 2022-08-11 23:46:52 -07:00
sawka
034995ef2a fix typescript errors 2022-08-11 11:49:46 -07:00
sawka
291d1dc704 allow resize observer to fire conditional scroll to bottom (info panel updates) 2022-08-11 10:41:08 -07:00
sawka
d5a5a9ce70 better directory vs file completion 2022-08-11 10:22:43 -07:00
sawka
5082330dcf implement info panel, more control in cmd-input, completions, errors 2022-08-10 18:35:18 -07:00
sawka
1f4ac87a9a implement new session and switch session 2022-08-08 16:22:36 -07:00
sawka
88e99fca62 add interactive flag 2022-07-15 17:52:57 -07:00
sawka
4a853ffa02 unify interactive/ws updates 2022-07-15 17:48:25 -07:00
sawka
d297477807 use new global input model 2022-07-15 17:38:58 -07:00
sawka
6340a3e9ff implement delete session, bug fixes 2022-07-15 01:58:30 -07:00
sawka
057637660c hook up accelerators for switching screens 2022-07-14 18:50:58 -07:00
sawka
8cdf514bb9 checkpoint on updates. can switch screens using commands 2022-07-14 18:41:49 -07:00
sawka
879cb03da0 auto resize terminal width to window size 2022-07-14 00:54:31 -07:00
sawka
8a710669ec screen switching 2022-07-13 23:11:45 -07:00
sawka
94fd29cbad handle pty udpates again 2022-07-13 14:16:47 -07:00
sawka
05af5a8510 get input working, fix currentrowheight constant 2022-07-13 01:03:17 -07:00
sawka
f4b3f94b13 add cmdinstances to allow windows/cmds to show in multiple screenwindows 2022-07-13 00:44:19 -07:00
sawka
059c98d1e0 checkpoint, getting screens integrated 2022-07-12 23:29:39 -07:00
sawka
4666ee8832 checkpoint 2022-07-12 14:27:40 -07:00
sawka
7867edb8da pass process id as client id to ws 2022-07-12 13:20:10 -07:00
sawka
28f5e9bf05 submit command 2022-07-12 00:45:10 -07:00
sawka
9af5edd451 get terminal follow scrolling working. create windowview 2022-07-11 22:43:58 -07:00
sawka
49c8b34a7c checkpoint, moving to model 2022-07-11 17:55:03 -07:00
sawka
77bd3ed5bf checkpoint, switching to model 2022-07-11 14:43:18 -07:00
sawka
5dc0e6b651 checkpoint working on electron 2022-07-09 01:37:19 -07:00
sawka
96961822a3 map cmd-i to grab input 2022-07-08 13:45:14 -07:00
sawka
882694b5ce get session list, switch to default session 2022-07-08 13:23:00 -07:00
sawka
c4fb7d9ada updates for window type, getting window, etc 2022-07-08 13:01:37 -07:00
sawka
2e7059777b get input working 2022-07-07 22:46:49 -07:00
sawka
3d29d0d34e integrate cmd status into fe tailing 2022-07-07 21:49:15 -07:00
sawka
827c33095b hook up cmd cmdstr and prompt 2022-07-07 13:27:44 -07:00
sawka
0053a63536 fix fecmdpacket remotestate 2022-07-07 00:10:58 -07:00
sawka
45fa371956 checkpoint for migrating to remoteinstance 2022-07-05 16:55:21 -07:00
sawka
b2a1560385 fix typescript errors 2022-07-04 22:37:45 -07:00
sawka
31f90d5401 checkpoint 2022-07-04 22:18:36 -07:00
sawka
1486c0243c checkpoint, new scpacket.FeCommandPacket 2022-07-03 12:02:22 -07:00
sawka
bfaa504249 checkpoint, reading session from server 2022-07-02 13:32:25 -07:00
sawka
7d059fe573 small change to fix bouncy scroll scolor 2022-06-20 22:48:34 -07:00
sawka
92812bc613 update how usedrows is computed 2022-06-20 17:49:14 -07:00
sawka
c3626a6547 add session history 2022-06-20 16:06:37 -07:00
sawka
15c3f2fc10 fix getDefaultSession, set foreground color to be not fff 2022-06-20 13:19:53 -07:00
sawka
d679ff7cf3 mock up a sidebar for scripthaus 2022-06-20 13:03:20 -07:00
sawka
365e9c55a2 dark theme, follow content when at bottom, date format 2022-06-17 17:54:14 -07:00
sawka
0cce8ad503 cmd input working 2022-06-17 15:32:19 -07:00
sawka
bb159bac5b got websocket ptyout tailing working 2022-06-16 22:25:07 -07:00
sawka
e58cd1c4ad checkpoint, getting websockets working 2022-06-16 21:14:26 -07:00
sawka
bb37a829de moving model functionality into session.ts 2022-06-16 16:34:46 -07:00
sawka
71c67a4cc2 checkpoint, session, window, termmap 2022-06-16 15:51:17 -07:00
sawka
a9f96dd983 flexible resizing logic, fix TermMap, work on ptyout 2022-06-16 12:40:09 -07:00
sawka
4f2c75af0c small updates 2022-06-16 01:08:56 -07:00
sawka
45cd98ef00 refactor term/ws into separate modules 2022-06-16 00:31:54 -07:00
sawka
76ac2c4ff9 websocket connection/reconnection 2022-06-15 18:12:22 -07:00
sawka
0be0da9c0a resize terminal viewer with content 2022-06-14 16:02:20 -07:00
sawka
54a3b082fc updates to test terminal updating / xpos 2022-06-14 14:16:32 -07:00
sawka
df3b7a3bb0 run commands via run-command 2022-06-13 11:12:39 -07:00
sawka
751914196b initial commit 2022-06-07 17:25:35 -07:00