ConEmu icon indicating copy to clipboard operation
ConEmu copied to clipboard

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

Open l1t1 opened this issue 1 year ago • 5 comments

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.

l1t1 avatar Mar 12 '24 07:03 l1t1

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

Maximus5 avatar Mar 21 '24 22:03 Maximus5

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 "??".

Maximus5 avatar Mar 21 '24 22:03 Maximus5

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

l1t1 avatar Mar 25 '24 07:03 l1t1

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 avatar Mar 25 '24 07:03 l1t1

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

l1t1 avatar Mar 25 '24 07:03 l1t1