-
-
Notifications
You must be signed in to change notification settings - Fork 448
merge shobu13/windowsTerminalBasicSupport To Dev #1116
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
Conversation
add a basic terminal for Windows Terminal, with the current version, you can set Windows Terminal as your default terminal emulator, but if you launch a command using Flow, Windows Terminal don't use your the matching profile, but a default profile instead. So i've added a "use windows terminal" property to specify usage of WT, and a Textbox where you can input the Profile you want to use. Then, on query process, the plugin call WT, passing the Profile as -p option, followed by the actual query.
Thanks for contribution and the code looks good, but I currently are busy to give a comprehensive review and test till weekend. Note: you can install the built version of this pr via the CI pipeline https://ci.appveyor.com/project/JohnTheGr8/flow-launcher/builds/43144820/artifacts. |
Will this resolve #187? |
No problem, take your time, |
don't think so, this code only allow to choose between multiple Profile of Windows Terminal, so you can't launch ConEmu for exemple. |
Also, instead of implementing each terminal emulator use case, we can juste provide a template field for the user to provide a custom launch command. so, if y query
COMMAND_INPUT = powershell.exe -NoExit ping 8.8.8.8 final command: |
forget to add Verb & working directory to Windows Terminal section, + iterate on info.Arguments instead of parsing it to String
Yeah I do have that thought a long time ago, but haven't implemented it till now. It would be great if you want to handle that. Probably we can have ui like the custom explorer |
I check the code. Do you assume that the profile will align with the command prompt we want to execute with? I think it would be better to put the file name as well as the arguments after |
I don't thing i have understand your concern, but with WT, you can set multiple profile with different interpreter / theming / ect... |
oh sorry I read it wrongly. |
yush, no problem, but later if you don't mind 'cause i'm a little busy for now :) |
yeah no worries take your time. |
Should i start a new branch for this feature or continue in this branch ? |
It depends on you. However, I think that merge conflict is a bit annoying. Although it may be clearer to split🤣 |
there is no merge conflict if i start a new branch starting from the merged dev with this one |
Then feel free to start another pull request. |
I wait until this one is merged to avoid conflict :), starting a new branch from this merge |
@shobu13 Could you implement the Profile Selection with a combobox that has the profiles of windows terminal? It's weird to manually type the profile name. |
Sorry i'm pretty busy for the next month, but yes, i can implement this later. |
yeah take you time. |
@shobu13 Any Update?😉 |
Heyaaa, sorry i've been kinda busy this days and i've switch to fedora kde now x') but i gonna try to check it soon |
Ah No worry! 😉 (I got a friend contributing to kde connect XD |
Close as #3225 implements it. |
add a basic terminal for Windows Terminal,
with the current version, you can set Windows Terminal as your default terminal emulator, but if you launch a command using Flow, Windows Terminal don't use your the matching profile, but a default profile instead.
So i've added a "use windows terminal" property to specify usage of WT, and a Textbox where you can input the Profile you want to use.
Then, on query process, the plugin call WT, passing the Profile as -p option, followed by the actual query.