Description
When using auto-complete to finish typing an entity such as a PC/NPC/Location, after auto-complete finishes the line an extra closing bracket ']' is added to the end of the line.
Steps to Reproduce
- Declare an entity using [N:npc|tags]
- Later in the note, start typing the entity declaration again: [N:npc...] and hit 'enter' when the auto-complete prompt appears
Expected Behavior
Auto-complete should finish the line without any extra characters at the end.
Actual Behavior
An extra ] is being added at the end of the line.
Environment
- OS: Windows
- Python version:
- lonelog version: latest
Additional Context

Description
When using auto-complete to finish typing an entity such as a PC/NPC/Location, after auto-complete finishes the line an extra closing bracket ']' is added to the end of the line.
Steps to Reproduce
Expected Behavior
Auto-complete should finish the line without any extra characters at the end.
Actual Behavior
An extra ] is being added at the end of the line.
Environment
Additional Context