nvim-metals icon indicating copy to clipboard operation
nvim-metals copied to clipboard

When you toggle logs you're in insert mode

Open ckipp01 opened this issue 5 months ago • 2 comments

Describe the bug

Somewhere this changed, but it used to be that when you toggled the logs you'd be tailing them in term, but not be in "terminal" mode. Now you are and you have to exit out.

Expected behavior

I'd expect to not be put in terminal mode.

Operating system

macOS

Version of Metals

1.2.0+103-2a275a5a-SNAPSHOT

Commit of nvim-metals

latest

ckipp01 avatar Feb 02 '24 09:02 ckipp01

Note that in nightly this isn't an issue, so there is something funky going on with the latest stable version of Nvim that is impacting this. I'll leave this open until the next release, but there isn't anything I'll likely change in nvim-metals about this.

ckipp01 avatar Feb 27 '24 12:02 ckipp01

This also happens on linux. The only way for me to get out of the logs buffer is to hit ctrl+c which would kill the tail -f process and close the buffer. All other keys are intercepted by the buffer.

ghostbuster91 avatar Mar 25 '24 21:03 ghostbuster91