Add a simple terminal cursor abstaction