As groovy as they are, repeatedly adding lambdas to terminal.write(...) is not a great experience. These are always the same function, and it would be better to store in the constructor.
This would allow the syntax for writing to become terminal << move_cursor({3, 4}), for example.
As groovy as they are, repeatedly adding lambdas to
terminal.write(...)
is not a great experience. These are always the same function, and it would be better to store in the constructor.This would allow the syntax for writing to become
terminal << move_cursor({3, 4})
, for example.