QLightTerminal icon indicating copy to clipboard operation
QLightTerminal copied to clipboard

add setDirectory function

Open dj1vs opened this issue 1 year ago • 1 comments

setDirectory function opens terminal in a specified folder (just a cd command)

dj1vs avatar Feb 10 '24 19:02 dj1vs

Hey, thanks for the pull request, its good idea.

Since there is currently terminal does not have a setStartDirectory function most people will probably use this command to change the default directory the terminal is started in. This is a bit problematic, since the terminal takes some time to start and causes the command to generate duplicate entries on start up.

Screenshot from 2024-02-11 21-34-35

Furthermore we cannot simply call commands like "clear" afterwards since some terminals provide start up information.

So we would need to solve this first.

Also please move the function below the signal function e.g. the updateTerminal function.

ChargeIn avatar Feb 11 '24 21:02 ChargeIn