Have a look at this and see if it helps: InkyPhat - clear/clean screen or buffer Hopefully that should do what you require?