Skip to content

[BUG] Auto-complete creating extra closing bracket when used #25

@OneShoeBoy

Description

@OneShoeBoy

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

  1. Declare an entity using [N:npc|tags]
  2. 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

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions