Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AnsiConsoleOutput safe height #1358

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Nov 9, 2023

The safe height (introduced in 3e2eea7) would be 80 (the value of the safe width) instead of 24.

Removing the explicit defaultValue parameter ensures that the correct constants are used, i.e. Constants.DefaultTerminalWidth and Constants.DefaultTerminalHeight.

The safe height (introduced in 3e2eea7) would be 80 (the value of the safe width) instead of 24.

Removing the explicit `defaultValue` parameter ensures that the correct constants are used, i.e. Constants.DefaultTerminalWidth and Constants.DefaultTerminalHeight.
Copy link
Contributor

@patriksvensson patriksvensson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@patriksvensson patriksvensson merged commit 29a4368 into spectreconsole:main Nov 9, 2023
6 checks passed
@0xced 0xced deleted the SafeHeight branch November 9, 2023 11:47
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