Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up the handler for the "x" mapping (#767)
Previously, pressing "x" on the tree root would result in unpredictable behavior. The user would either an receive an error message or the parent of the tree root (which is not visible) would be closed. This commit repairs this problem. In addition, some code duplication was removed.
- Loading branch information
1 parent
70c8cb9
commit f526c4e
Showing
1 changed file
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters