Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.5k stars 570 forks source link

duckdb grid lines does not align when there are Chinese characters and header #2576

Open l1t1 opened 3 months ago

l1t1 commented 3 months ago

Versions

ConEmu build: 230724 x32/x64 OS version: Windows 7 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd

Problem description

I use conemu to run duckdb 0.10 the grid lines of body does not align when there are Chinese characters and header is also displayed. see attchment 001 and 002 if I scroll the windows, when the header is moved out the window, the grid lines of body aligned automatically. see attchment 003

Steps to reproduce

  1. run duckdb
  2. input select '中文' as a;
  3. input select '中文' as a from range(20);

Actual results

see attachment

Expected results

lines always aligned

Additional files

001 002 003

Settings, screenshots, logs, etc.

Maximus5 commented 3 months ago

Could you please make screen dumps (SysMenu -> Debug -> Dump screen) with contents matching screenshots 1, 2 and 3?

Maximus5 commented 3 months ago

2024-03-21-23-44-47

I tried to run your command. It looks like something should be configured in duckdb. Terminal can show Chinese (see input), but in the table there are "??".

l1t1 commented 3 months ago

as far as I know, duckdb doesn't have the config way of character. dump files 1-2-3.zip

l1t1 commented 3 months ago

and same question as https://github.com/Maximus5/ConEmu/issues/2575#issuecomment-2013992825 told, select '中文' as a from range(20); shows overlap 2024-03-25_155132

l1t1 commented 3 months ago

after uncheck 'compress long strings to fit space`, it displayed without the right grid line as following, when scroll up , seems better than 2nd picture of the main thread 2024-03-25_155614 2024-03-25_155700