xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

custom control the vscode's terminal print log length All In One

custom control the vscode's terminal print log length All In One

I want to custom control the vscode's terminal print log length.

situation

In my case, it would be easier compared to multiple logs if each log was displayed on one line.

current, auto break to multi lines

// ...
test case i result:  passed ✅ [
   1,  2,  3, 4, 8,
  12, 11, 10, 9, 5,
   6,  7
]
test case i result:  passed ✅ [ 2, 5, 8, -1, 0, 4 ]
// ...

wanted, no need break if the right space is enough.

test case i result:  passed ✅ [ 1,  2,  3, 4, 8, 12, 11, 10, 9, 5, 6,  7]
test case i result:  passed ✅ [ 2, 5, 8, -1, 0, 4 ]
// ...

zsh bug ❓

image

https://github.com/microsoft/vscode/issues/157801

refs

https://github.com/microsoft/vscode/issues/157801



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2022-08-10 23:18  xgqfrms  阅读(16)  评论(3编辑  收藏  举报