jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Add history to the debug console #58

Closed jmeaster30 closed 10 months ago

jmeaster30 commented 10 months ago

I would like to store the history of commands run in the debug console

It would be pretty nice to store the commands between runs but I think to start at least it would be good enough to only store the history of commands per run

jmeaster30 commented 10 months ago

I am probably going to use https://crates.io/crates/rustyline which allows you to load history from a file

jmeaster30 commented 10 months ago

Done but sometimes the console colors get screwed up