Re:Show HN: My personal website is a shell
by rbtprograms on Monday April 05, 2021 @01:08PM
(#26701650)
Neat! If I can make one suggestion: I know this is usually not at all what people should with websites, but consider hijacking basic browser hotkeys to augment the shell. Tab for auto complete instead of select next element would be a good start, and I think in this type of situation its acceptable to hijack.
[ Parent
| on HN ]
I agree, hijacking is good when it leads to the expected user behaviour. I kept pressing tab to auto-complete the command, but the cursor jumped to the address bar.
Re:Show HN: My personal website is a shell
by SketchySeaBeast on Monday April 05, 2021 @04:46PM
(#26704485)
I kept pressing up to retrieve my last command.
There we go, I opened this thread with two things in mind that immediately struck me - tab completion and pressing up for previous command and those two are the top comments!
I am in ok with hijacking tab in general. The fact that tab doesn't act as a tab key in text areas is one of the most annoying things about the web.
Also consider auto focusing the field when the page loads
thanks for the input, yes definitely planning to do this
Re:Show HN: My personal website is a shell
by eyelidlessness on Monday April 05, 2021 @03:49PM
(#26703727)
If you do, please check the various meta keys. Hijacking tab is expected here, but not cmd-/alt-tab etc.
Re:Show HN: My personal website is a shell
by rbtprograms on Monday April 05, 2021 @06:37PM
(#26705544)
nice! this is a fun project so I ma glad you are wanting to go further with it.
Re:Show HN: My personal website is a shell
by oceanghost on Wednesday April 07, 2021 @10:19PM
(#26734368)
I immediately tripped on the autocomplete issue. Still, a super neat thing.
Re:Show HN: My personal website is a shell
by smthngwitty on Monday April 05, 2021 @10:36PM
(#26707387)
Also CMD+K to clear window