ndd7xv / heh

A terminal UI to edit bytes by the nibble.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor Input Handling

ndd7xv opened this issue · comments

As a part of my self code-review/ramblings in #19, the input is being handled based off of the FocusedWindow is becoming too long and should be refactored.

One potential solution is using traits, described in #19 (comment). We could also just keep Popup(PopupData) in the enum and impl each case.

Welcoming other suggestions as well! 😄