sedwards2009 / extraterm

The swiss army chainsaw of terminal emulators
https://extraterm.org
MIT License
2.49k stars 116 forks source link

Fix nil reference to blockFrame.getBlock() #400

Closed ldelossa closed 1 year ago

ldelossa commented 1 year ago

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 louis.delos@gmail.com

ldelossa commented 1 year ago

This is not the correct solution.