obsidian-shellcommands icon indicating copy to clipboard operation
obsidian-shellcommands copied to clipboard

Bug: Shell command preview text is not updated when modifying the command

Open Taitava opened this issue 1 year ago • 1 comments

kuva

I've typed echo "Hello World!" already, but the preview text shows just echo "Hello ", which was a point when I closed and reopened the settings modal for bug demonstration purposes. After that, I completed the sentence.

There's no errors in the console.

I don't know in which version this started, but at least it's happening with 0.21.0.

TODO:

  • [x] Fix the bug.
  • [x] Add to CHANGELOG.md.
  • [x] Find out all affected versions.

Taitava avatar Jan 19 '24 16:01 Taitava

The bug was caused by #366, particularly commit e2e0d341aac19d3799b184cfd600e73410627ff0 .

The bug appears in SC versions:

  • 0.20.1 (not 0.20.0)
  • 0.21.0

Taitava avatar Jan 28 '24 10:01 Taitava

The fix is now released.

Taitava avatar May 05 '24 15:05 Taitava