dotnet-repl icon indicating copy to clipboard operation
dotnet-repl copied to clipboard

Shift + Enter / Shift + Tab doesn't;t work on Mac Monterey

Open Kingdom-Of-Heaven opened this issue 3 years ago • 10 comments

I've just installed dotnet reply on my Mac Monterey 12.4. According to documentation SHIFT + Enter should start multiline nevertheless id doesn't work. Same with Shift+Tab to see last line from history it also doesn't work. Is it a bug or am I missing something?

Kingdom-Of-Heaven avatar Jun 03 '22 20:06 Kingdom-Of-Heaven

Shift+Enter does seem to be broken on Mac.

Shift+Tab doesn't show history, it's intended to navigate through completions.

If you type Console.<Tab> it cycles forward through completions and if you type Console.<Shift+Tab> it cycles backwards...

In theory. This seems to be broken on the Mac and on Windows, I'm seeing the order of the completions is wrong.

jonsequitur avatar Jun 04 '22 02:06 jonsequitur

I agree, this is a bug hopefully dev team will fix it asap as it's annoying to work without that basics shortcuts.

Kingdom-Of-Heaven avatar Jun 04 '22 15:06 Kingdom-Of-Heaven

Any update on this? On a Mac and using F# and no Shift-Enter makes this a pain

DamianReeves avatar Apr 28 '23 13:04 DamianReeves

Currently I'm getting a total crash when I press Tab or Shift-Tab, Shift-Enter works for me though.

cartercanedy avatar Oct 18 '23 17:10 cartercanedy

Maybe this was already determined to be a dotnet interactive api bug, but debugging the dotnet interactive source is showing that the bug is in the command parser within Microsoft.DotNet.Interactive.Kernel. Not fixable here @jonsequitur

cartercanedy avatar Oct 18 '23 18:10 cartercanedy

I made the fix in dotnet-interactive upstream, but the tnterface has changed significantly since the package version referenced in the project file. It's going to take some work to update

cartercanedy avatar Oct 19 '23 11:10 cartercanedy

My understanding is this is a .NET console API bug.

@cartercanedy, can you point me to a fix that you tried in .NET Interactive?

jonsequitur avatar Nov 06 '23 23:11 jonsequitur

See this commit

cartercanedy avatar Nov 06 '23 23:11 cartercanedy

Thanks!

jonsequitur avatar Nov 07 '23 00:11 jonsequitur

Just confirming that the process doesn't crash after the most recent release, don't know if the issue above was also a result of the same kind of kernel crashes or smth else

cartercanedy avatar Nov 13 '23 17:11 cartercanedy