Skip to content

How does multi-line cell content work? #2632

Answered by midichef
chwt asked this question in Q&A
Discussion options

You must be logged in to vote

I believe multi-line display is for showing a cell that has a single long line of content, by wrapping it across multiple lines. It's not for editing a cell to make it take up more than 1 line. For example, if your goal is to put "a\nb\nc\n" in a single cell and have it consistently be displayed as 3 lines, I do not think visidata has that ability.

You say you reopen the file and see wrong new rows. What is the filetype?

I can imagine such a problem happening in a filetype like tsv, because as saulpw has said, quoted newlines aren't allowed in 'true' tsv files. For tsv, if you add newlines in a cell and then save it, that will create new rows at the added newlines. But for csv files, you …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@asteroidb612
Comment options

@saulpw
Comment options

Answer selected by chwt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants