Open iloveitaly opened 1 year ago
I'm having a weird issue where the file decorations are not detecting the terminal width properly.
zsh -f
However, I'm not sure where to start debugging this. What terminal configuration options could cause this and where could I find them?
Here's a screenshot of what I'm seeing:
git --no-pager show:
git --no-pager show
commit c1f4a048806abc811f354a48a9b00d2435a06c6c (HEAD -> master) Author: Michael Bianco <email@email.com> Date: Thu Jul 27 13:36:35 2023 -0600 helper to expand ts types diff --git a/.node-functions b/.node-functions index 638ef76..439eeaf 100644 --- a/.node-functions +++ b/.node-functions @@ -4,6 +4,12 @@ # these helpers make using it more sane ########################### +# https://github.com/microsoft/vscode/issues/94679 +vscode-fix-typescript-truncation() { + local file="/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js" + sed -i '' 's/defaultMaximumTruncationLength = 160;/defaultMaximumTruncationLength = 800;/g' "$file" +} + # ts-node execution tsn() { if ! npm list tsconfig-paths &>/dev/null; then
I'm having a weird issue where the file decorations are not detecting the terminal width properly.
zsh -f
) it renders fineHowever, I'm not sure where to start debugging this. What terminal configuration options could cause this and where could I find them?
Here's a screenshot of what I'm seeing:
git --no-pager show
: