Maximus5/ConEmu

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

l1t1 opened this issue · 5 comments

l1t1 commented

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.

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

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

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

l1t1 commented

and same question as #2575 (comment) told,
select '中文' as a from range(20); shows overlap
2024-03-25_155132

l1t1 commented

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