Closed dodokpeter closed 5 years ago
Methods: display (message), input()
update all tests (and check other classes) to use console package
I have problems with System.console() - it returns null for me. Please run Main class and try reproduce this. According to next article it might be impossible to use console(). https://intellij-support.jetbrains.com/hc/en-us/community/posts/206852195-Unable-to-use-java-groovy-console-while-debugging
I've also found multiple suggestions on the internet recomend to avoid using console()
I have problems with System.console() - it returns null for me. Please run Main class and try reproduce this. According to next article it might be impossible to use console(). https://intellij-support.jetbrains.com/hc/en-us/community/posts/206852195-Unable-to-use-java-groovy-console-while-debugging
I've also found multiple suggestions on the internet recomend to avoid using console()
First test if console != null. if it is not, just use good old method from System.out.
Incorrectly pushed also Main class here. It should've been pushed into #38
This package will have all classes connected to console displaying