pragtical / plugins

Plugins for the Pragtical editor
MIT License
13 stars 5 forks source link

[windows] plugin scm. Flashes more cmd windows, freezing editor. #21

Open maksimaliabyshev opened 1 month ago

maksimaliabyshev commented 1 month ago

If this plugin is built in, then why is it present in the list and not marked that it is already built in.

https://github.com/user-attachments/assets/bf5e772d-e07c-4bf7-84fd-829c6c144595

jgmdev commented 1 month ago

Confirmed, recently I saw the annoying command prompt issue when doing some testing on Windows. When installing git I think you need to choose the non minitty option (since the minitty option causes the terminal window to open). It is as if there is a intermediary binary wrapper that is calling git, causing the command prompt and the additional slowness due to stdout/stdin/stderr redirection.

I still haven't properly reached a tested solution for this but it is all related to how git is configured since calling other command line applications from the process API doesn't cause such issue.

If this plugin is built in, then why is it present in the list and not marked that it is already built in.

It is not a built-in plugin, you have to explicitly install it, I guess you pulled it without noticing.