Open ojwb opened 3 years ago
Accidentally hitting "back" seems to have a similar problem - the current program is typically replaced with a different one if you have multiple owlets open, and "forwards" doesn't do anything.
Just to be sure you mentioned the old editor didn't do this; which old editor? (Maybe I missed something ☺️)
@mattgodbolt I meant https://editor.8bitkick.cc/
It seems owlet saves the current program into the browser storage, but only keeps track of one such program at a time.
If you have owlet open and open a second owlet tab, then accidentally close the first tab and try to reopen it, it reopens with the program from the second tab and your code from the first tab seems to be irretrievably lost, which is ... unhelpful.
I think it's unrealistic to assume people will only have one instance of owlet open at a time. I'm not very up on modern web stuff, but the old editor seemed to handle concurrent instances better than this.
I'm using Firefox if that makes a difference.