microsoft/Terminal
Ver no GitHubAllow a command line argument for wt that would accept a monitor designation
Open
#15.656 aberto em 5 de jul. de 2023
Area-CommandlineHelp WantedIssue-BugProduct-Terminal
Métricas do repositório
- Stars
- (35.764 stars)
- Métricas de merge de PR
- (Mesclagem média 27d 19h) (24 fundiu PRs em 30d)
Description
Description of the new feature/enhancement
I have not found a way to cause a new invocation of wt to position its window onto the monitor of my choice.
Things I have tried:
- Manually drag the wt window to my chosen monitor. Close it and start a new wt instance. Other windows respect the Windows settings (System->Display) 'Remember window locations based on monitor connection'. But the wt window does not appear to honor that.
- For 'wt --pos <x,y>', set x and y to various values. This works, but only puts the window on the 'main display' monitor. Note that for giggles, I tried negative numbers and this caused the window to appear on the other(not main) display monitor, but always at position <0,0>.
Proposed technical implementation details (optional)
Suggestions for possible implementation: *) Allow another command line arg, perhaps similar to the Linux '--display'. *) Allow the current <x,y> args of --pos to include an optional monitor number, such as <1:100,100> *) Honor, the 'Remember window locations based on monitor connection' setting. BUT, allow --pos to override that.