Commit Graph

554 Commits

Author SHA1 Message Date
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