ewaters / altsql-shell

An easily extensible DBI shell, perfect for a drop-in replacement to mysql-client
http://ewaters.github.com/altsql-shell
123 stars 19 forks source link

Null characters display inconsistentely #35

Open ewaters opened 12 years ago

ewaters commented 12 years ago

If you force pagination by narrowing your console window to force the following output to paginate:

select 'This is a long string that will cause the output to paginate', char(0);

You'll notice that the null character in wide output shows up as an empty, zero length string, but in less it shows up as a grey '^@' which upsets the formatting of the table output (the expected display width of that character was 0).

lancew commented 7 years ago

Confirmed this still happens on the latest master.