This is more of a workaround than a full-on fix, because what I'm doing here doesn't 100% make sense. This will need more diving into the Plotext code to really figure out what's going on, and I suspect the workaround is working around how we're trying to make a singleton/repl tool behave in a very different environment. But this makes the plots more responsive and stable and appears to have no unintended consequences.
This is more of a workaround than a full-on fix, because what I'm doing here doesn't 100% make sense. This will need more diving into the Plotext code to really figure out what's going on, and I suspect the workaround is working around how we're trying to make a singleton/repl tool behave in a very different environment. But this makes the plots more responsive and stable and appears to have no unintended consequences.