abgox / PSCompletions

A completion manager for better and simpler use completions in PowerShell. 一个补全管理模块,更简单、更方便的在 PowerShell 中使用命令补全。
https://pscompletions.pages.dev
MIT License
109 stars 5 forks source link

新UI不对齐 #11

Closed Arama0517 closed 6 months ago

Arama0517 commented 6 months ago

新版的补全ui似乎没有对齐, 这是正常的吗: image

abgox commented 6 months ago

在我这里一切正常 image

abgox commented 6 months ago
abgox commented 6 months ago

问题解决了吗?

Arama0517 commented 6 months ago

image 没有

abgox commented 6 months ago
  1. 打印 $PSVersionTable 这个变量,我需要看看 PowerShell 版本信息
  2. $Profile 这个变量指向的 Powershell 配置文件里的内容暂时清空,只导入 PSCompletions 模块看看
Arama0517 commented 6 months ago

PS C:\Users\Arama> $PSVersionTable

Name Value


PSVersion 7.4.2 PSEdition Core GitCommitId 7.4.2 OS Microsoft Windows 10.0.22631 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

$Profile变量文件里是空的

Arama0517 commented 6 months ago

我知道为啥了, 我在profile.ps1里加了一个$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding是utf8编码的问题

abgox commented 6 months ago
abgox commented 6 months ago
Arama0517 commented 6 months ago

我看网上说这个能设置utf-8我就设置了(

Arama0517 commented 6 months ago

我还是老老实实用wsl吧

abgox commented 6 months ago
Arama0517 commented 6 months ago