microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.82k stars 8.33k forks source link

VT Sequences rendered improperly in Far Manager #15533

Closed Zeroes1 closed 1 year ago

Zeroes1 commented 1 year ago

Windows Terminal version

1.18.1462.0

Windows build number

10.0.19045.2965

Other Software

Far Manager, version 3.0.6161.0 x64

Steps to reproduce

Microsoft.WindowsTerminalPreview_1.18.1462.0_x64.zip in portable mode, uac off, under Admin

use with FAR 100% times work with FAR settings.zip

Expected Behavior

No response

Actual Behavior

sometime (sic!) in FAR console after some different actions i got strange codes: ANSI?/ESC sequenced? like: 5;67;18m 5;43;34m;29m 5;55;26m;37m
5;28;15m 35;69;9m;47;10m97;6m8m49;10m3m

probably when use Microsoft.WindowsTerminal_1.17.11461.0_x64.zip this no have problem

I cant how reproduce.

Zeroes1 commented 1 year ago

today i see this ONCE! on version wt Microsoft.WindowsTerminal_1.17.11461.0_x64.zip

under 1.18 pre i see this trouble one time in ~2hour probably...

zadjii-msft commented 1 year ago

This looks very much like something disabling VT processing mode. Having exact repro steps would be helpful here. Perhaps there's some child process you're launching that's turning VT mode off (and FAR isn't turning it back on?)

Zeroes1 commented 1 year ago

trouble present when i not run anything... i see this may be when change focus app1/app2/app3 & when use event from mouse?

i dont know how reproduce this situation

i use windows 27 year far manager 25 year conemu 12 year

but never see this effects.

WT I try use ~week ( why not early? because i dont like UWP apps)

Zeroes1 commented 1 year ago

options on my FAR Manager:

[x] Use Virtual Terminal for rendering [x] Fullwidth-aware rendering [ ] ClearType-friendly redraw (can be slow)

carlos-zamora commented 1 year ago

@alabuzhev have you seen reports of this recently?

alabuzhev commented 1 year ago

I saw something like this a few years ago. That time it was conemu hooking some functions and sending these sequences instead of expected input.

I suggest removing all conemu dlls from far\plugins first, if not yet. It could be that some hooks stay active even when you're not using it explicitly.

Zeroes1 commented 1 year ago

if try record program Bandicam area: area around cursor -> full screen (ONLY THIS! - record around mouse) WT+Far+folow the mouse record in bandicam.mp4.zip

we can see many codes in far console

Zeroes1 commented 1 year ago

i check fresh Far30b6164.x64.20230615.7z + Microsoft.WindowsTerminalPreview_1.18.1462.0_x64.zip with default settings problem still exist i check process Far.exe OpenConsole.exe WindowsTerminal.exe

3rd party dll attached not found

if u want i can record video with all proccess

carlos-zamora commented 1 year ago

Thanks for filing. We're going to mark this as a /dup of #15540.

microsoft-github-policy-service[bot] commented 1 year ago

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

Zeroes1 commented 10 months ago

Supposedly the problem has gone away with Microsoft.WindowsTerminalCanary_latest_x64.zip terminal-1.20.3491.0 first day use after preview 1.19.2311.13002 where problem exist too...