DirectMyFile / console.dart

Console Library
Other
107 stars 24 forks source link

Terminal resize #1

Closed eukreign closed 9 years ago

eukreign commented 9 years ago

Is there a way to respond to terminal resize events to get the new stdout.terminalColumns, etc?

azenla commented 9 years ago

Not yet, I could do that with some sort of listener. I might even add support for that in the SDK :)

eukreign commented 9 years ago

Excellent, thanks!

For now I've just setup a Timer that checks stdout.terminalColumns for changes every second.

azenla commented 9 years ago

I was going to do that temporarily. Also I'm going to rename 'Console' to 'ConsoleHelper' probably because in Dart v1.8 they added a 'Console' class to dart:io

azenla commented 9 years ago

Fixed