Open rashil2000 opened 3 years ago
What is the expected behavior?
According to the Readme it should launch a terminal with powershell (by default it launches with cmd)
Aha. Totally forgot about this :D
The arg is actually --terminal-cmd
.
I'll update the README, thanks!
Unfortunately, it still doesn't work. I've tried
fvim --terminal-cmd pwsh
fvim --terminal --terminal-cmd pwsh
fvim --terminal-cmd pwsh --terminal
All of these just open a blank buffer.
Could you try this:
fvim -u NORC +"set mouse=a" +"set noshowmode" +"set laststatus=0" +"set noruler" +"set noshowcmd" +"terminal pwsh"
It opens up cmd in FVim
@rashil2000 updated the line, pls try again
I'm guessing it's some quote escape problem again so that fvim fail to assemble the correct startup args
Yes, now the line works
thanks for confirming. I'll figure out a fix.
I ran the command
fvim --termcmd powershell
, here's the stacktrace:Exit code: 1
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1433.Invoke(String message) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs:line 1433 at FVim.states.msg_dispatch(Event _arg1) in D:\a\1\s\states.fs:line 285 at FVim.model.Start@146.Invoke(Event _arg1) in D:\a\1\s\model.fs:line 146 at FSharp.Control.Reactive.ObservableModule.subscribe@1674-2.Invoke(T delegateArg0) at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 44 at System.Reactive.Sink`1.ForwardOnNext(TTarget value) in /_/Rx.NET/Source/src/System.Reactive/Internal/Sink.cs:line 50 at System.Reactive.Concurrency.ObserveOn`1.Context._.OnNextPosted(Object value) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/Synchronization.ObserveOn.cs:line 118 at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass8_0.Exception message: neovim crashed
nvim.exe: Unknown option argument: "--termcmd" More info with "nvim.exe -h"