Commit Graph

13 Commits

Author SHA1 Message Date
b298e118e3 Add colors to the interactive interpreter 2017-03-22 11:26:53 -04:00
058e937c3e Refactor main interpreter code
Fixed several minor issues

Only print the last value when interpreting a file

Resolves #4
2017-03-21 15:03:16 -04:00
5cb6212d2a Fix terminal resize issues 2017-03-21 12:07:22 -04:00
a8eff1ad70 Clean up terminal code 2017-03-21 09:25:40 -04:00
fc96894d14 Fix text insertion at the end of the buffer 2017-03-20 16:20:28 -04:00
38710e21bf Improve terminal performance 2017-03-20 11:18:36 -04:00
cef7be6c25 Add comments to broken code 2017-03-19 17:32:44 -04:00
ad173d06a9 Fix issues when input pushes past end of buffer
A few issues still remain:

- Inserting text pushes the remainder of the input to a new line
  at the end of the buffer.

- Resizing the terminal height causes numerous issues.
2017-03-19 17:17:34 -04:00
38ab1144fb Clean up terminal code and unit tests
The terminal unit tests were updated so that they don't rely on an
arbitrary delay.
2017-03-19 12:54:35 -04:00
072a432026 Hide cursor when printing output 2017-03-18 16:55:35 -04:00
31ca72e534 Add a crude interactive terminal implementation 2017-03-18 16:49:46 -04:00
462673ba64 Add line wrapping support to the terminal 2017-03-17 19:40:56 -04:00
c533b7c1d9 Start experimenting with lanterna 2017-03-17 16:07:25 -04:00