keathley / butler

An elixir powered robot
MIT License
25 stars 4 forks source link

Add history to the console adapter #16

Closed keathley closed 6 years ago

keathley commented 9 years ago

It would be really convenient to have history in the console adapter like in a standard repl or terminal. This will probably involve writing directly to tty or something similar in order to capture the up arrow and down arrow keys.

bbrock25 commented 9 years ago

Been thinking about this one as a fun feature to implement, I wonder if it would make sense to use ETS to manage the state?

keathley commented 9 years ago

I was thinking of just using an Agent. What were your thoughts about using ETS?

bbrock25 commented 9 years ago

I wasn't aware of Agent, will take a look.