Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Restart terminal #100

Open
mikeTWC1984 opened this issue May 22, 2020 · 2 comments
Open

feature: Restart terminal #100

mikeTWC1984 opened this issue May 22, 2020 · 2 comments

Comments

@mikeTWC1984
Copy link
Contributor

Summary of the new feature

Wondering if we can port vscode's "Restart current session" to this extension. I did some research about a year ago, and the only way to do this was to kill terminal pid directly. But somehow it was messing up my colors (I had separate theme for terminal and files). Maybe this can be achieved via language server now

Another thing I was looking for is to get powershell console up even without opening ps files. More like an alternative for calling :term, I think it's psic is more robust. Probably this can be achieved by vim settings, but might be another option for ps extensions.

@TylerLeonhardt
Copy link
Collaborator

I like this idea. We may need to port over the entire session class:
https://github.com/PowerShell/vscode-powershell/blob/55ebbafeb8939cbea7ff9a8ea175c79181b1187b/src/session.ts

but coc has been really nice to us so far so it might be straightforward.

@TylerLeonhardt
Copy link
Collaborator

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

No branches or pull requests

2 participants