- Added support for setting the terminal foreground color.

- Some improvements to error handling.
This commit is contained in:
Adam Murdoch
2012-08-04 10:00:32 +10:00
parent 31e9d2b41c
commit 335065887e
10 changed files with 145 additions and 49 deletions

View File

@@ -20,6 +20,6 @@ class TerminalTest extends Specification {
then:
NativeException e = thrown()
e.message.startsWith('Could not open terminal. Errno is ')
e.message == 'Could not open terminal: not a terminal'
}
}