cmdchallenge icon indicating copy to clipboard operation
cmdchallenge copied to clipboard

tabs are broken?

Open tinyplasticgreyknight opened this issue 8 years ago • 1 comments

Summary

Tabs in output don't tabulate; it looks like they are just being replaced with four spaces (which isn't at all what a tab is for!)

Steps to reproduce

  • go to https://cmdchallenge.com/#/disp_table
  • enter cat table.csv | sed 's/,/\t/g'

Expected output with tabs

id	name	count
4	susan	11
33	alice	22
1772	joe	33

Actual output has spaces

id    name    count
4    susan    11
33    alice    22
1772    joe    33

tinyplasticgreyknight avatar Aug 28 '17 10:08 tinyplasticgreyknight

Thanks, I didn't really consider tabs here. This is going to be a limitation of the terminal emulation unfortunately. Should probably update the description at least.

jarv avatar Aug 28 '17 21:08 jarv