EzraSkwarka / CYOA_Helper

A COYA game engine inspired by old school terminals
Other
0 stars 0 forks source link

Enhancment: Tab Completion #44

Open cbondurant opened 1 year ago

cbondurant commented 1 year ago

Tab order can result in snapping all the way to the top of the history, even after a lot of pages have been added.

I think either tab order should start at the top of the current page, or that it should go backwards, starting at the terminal input.

The wrapping behavior is disorienting.

EzraSkwarka commented 1 year ago

This one's tricky. My gut response is "that's accomplished by using shift+tab" but that doesn't really resolve the issue. I'm hesitant to try implementing a tabindex system because that could get real messy real fast.

My two schools of thought are: A. Implement a tabindex system for all clickable elements and reset the index on a 'cls' command B. Disable tabbing

A is doable, but I'm not sure if it is worth the effort right now. Gonna sit on this one for a bit. Is tabbing a feature someone would expect a CLI system to have, or is it a modern convenience worth implementing. Any thoughts @cbondurant ?

cbondurant commented 1 year ago

I had meant to also include this but it had slipped my mind: The reason I had come across this was because I attempted to use tab completion.

Disabling tab order would probably be a completely acceptable answer, but tab completion at least in the future would be a nice QoL. I personally wouldnt rank it as high priority though.

EzraSkwarka commented 1 year ago

Oh! That makes way more sense. Tab completion would be a very neat feature, but would take a lot of work. That is definitely going onto the timeline as a major feature. Not even sure where to start on it, but that is why I'm doing this project.

EzraSkwarka commented 1 year ago

Renamed from: Tab order starts at top of terminal scroll, even with many pages in the way