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 nil reference to blockFrame.getBlock() #400

Closed

Conversation

ldelossa
Copy link

fixes: #399

As outlined in the above issue, a nil deref is always encountered with attempting to call 'getBlock()' on the blockFrame instance in Terminal.appendBlockFrame function.

Checking it, and only calling "setParent" seems to clear the issue from my testing.

Blocks render correctly and the zsh integration now works.

Signed-off-by: Louis DeLosSantos [email protected]

fixes: sedwards2009#399

As outlined in the above issue, a nil deref is always encountered with
attempting to call 'getBlock()' on the blockFrame instance in
Terminal.appendBlockFrame function.

Checking it, and only calling "setParent" seems to clear the issue from
my testing.

Blocks render correctly and the zsh integration now works.

Signed-off-by: Louis DeLosSantos <[email protected]>
@ldelossa
Copy link
Author

This is not the correct solution.

@ldelossa ldelossa closed this Dec 17, 2022
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.

Immediately broken after zsh integration
1 participant