News for hackers. Stuff that matters.
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.
Re:Show HN: My personal website is a shell by XCSme on Monday April 05, 2021 @04:20PM (#26704145)
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.
Re:Show HN: My personal website is a shell by spurgu on Monday April 05, 2021 @08:45PM (#26706660)
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!
Re:Show HN: My personal website is a shell by skohan on Tuesday April 06, 2021 @01:33AM (#26708237)
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.
Re:Show HN: My personal website is a shell by ivan888 on Monday April 05, 2021 @01:13PM (#26701703)
Also consider auto focusing the field when the page loads
Re:Show HN: My personal website is a shell by aavshr on Monday April 05, 2021 @01:28PM (#26701879)
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
Re:Show HN: My personal website is a shell by besnn00 on Tuesday April 06, 2021 @04:36PM (#26717090)
isn't it Ctrl+L