WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

How to open WindTerm in a chosen location ?

Open utilisateuralpha opened this issue 1 year ago • 6 comments

Hi How to open WindTerm in a chosen location ?

The command 'WindTerm path' always opens the console in the $HOME directory

utilisateuralpha avatar Nov 22 '23 21:11 utilisateuralpha

WindTerm currently does not support being launched via the command line. Subsequent versions will support it. But if you want to change the working path of the built-in shell sessions, you can modify Session Settings Dialog - Shell - Shell - Process - Working directory to the path you desire.

kingToolbox avatar Dec 02 '23 08:12 kingToolbox

The support for running WindTerm via the command line is still not implemented! Is there a date scheduled?

utilisateuralpha avatar Apr 04 '24 15:04 utilisateuralpha

You reminded me that due to the upcoming upgrade to version Qt 6.7, this will result in WindTerm 2.7.0 being the last version that supports low version operating systems like Windows 7, Windows 8.1, macOS 10.13, macOS 10.14, macOS 10.15, Ubuntu 18.04 and etc. So let's go with this version.

Can you describe all the command line options you would like, and I will try my best to implement them.

kingToolbox avatar Apr 05 '24 00:04 kingToolbox

Here is an example of the options that can be implemented for command line mode. What interests me is the flag --directory Thank you very much for your help

-h, --help 
display help text for a command line

--directory=xxx
open a shell in a directory

--window
open a new window

--session
open a new session

--command=xxx
run a command in the terminal

--profile=xxx
pen a tab with specified profile

-v, --verbose
give a much informations of diagnostic

--version
give the version of the soft windterm

utilisateuralpha avatar Apr 05 '24 16:04 utilisateuralpha

Okay, no problem. Most of the options are feasible. Let's make a version like this first. If you have any additional requirements, you can add them after trying it out.

kingToolbox avatar Apr 05 '24 17:04 kingToolbox