Skip to content

fix: change Height() to return math.MaxInt if we could not retrieve t…#38

Merged
buger merged 1 commit intobuger:masterfrom
larryzhao:return-max-int-on-console-with-no-size
Aug 26, 2021
Merged

fix: change Height() to return math.MaxInt if we could not retrieve t…#38
buger merged 1 commit intobuger:masterfrom
larryzhao:return-max-int-on-console-with-no-size

Conversation

@larryzhao
Copy link

@larryzhao larryzhao commented Aug 22, 2021

change func Height() int to return math.MaxInt when we could not retrieve the height of console window, otherwise nothing will be printed in that kind of environment.

Like in VSCode debugging console.

…he height of console window, otherwise nothing will be printed. Like in VSCode debugging console
@larryzhao
Copy link
Author

@buger hello buger, would you check this out?

@buger buger merged commit 6532f8e into buger:master Aug 26, 2021
@buger
Copy link
Owner

buger commented Aug 26, 2021

Looks good, thank you!

@buger
Copy link
Owner

buger commented Aug 26, 2021

Releases as 1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants