Skip to content

fix: GetLastCommand not working with powershell inside windows terminal#2

Open
ronaldarndt wants to merge 2 commits intoandrecarlucci:mainfrom
ronaldarndt:fix_windows_terminal_PS_not_working
Open

fix: GetLastCommand not working with powershell inside windows terminal#2
ronaldarndt wants to merge 2 commits intoandrecarlucci:mainfrom
ronaldarndt:fix_windows_terminal_PS_not_working

Conversation

@ronaldarndt
Copy link

@ronaldarndt ronaldarndt commented Jan 20, 2023

The GetLastCommand method was returning null when executing 'fix' on a Powershell instance inside Windows Terminal, which has a 'PS' prefix like the snippet below.
PS C:\Users\Ronald\Desktop\projects\fix\Fix\bin\Debug\net5.0\win-x64> git pu

Fixers were also not working because besides the prefix, there is also a space between the '>' characters and the actual command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants