Skip to content

Copy whole row joined with tabs when cell not selected#97

Merged
YS-L merged 1 commit intoYS-L:mainfrom
mendelmaleh:yank-line
Sep 27, 2024
Merged

Copy whole row joined with tabs when cell not selected#97
YS-L merged 1 commit intoYS-L:mainfrom
mendelmaleh:yank-line

Conversation

@mendelmaleh
Copy link
Copy Markdown
Contributor

Hi, I've been using this tool for a few months and found it really useful, thank you for making it!

I wanted to copy whole lines into google sheets, so I addded this little feature, let me know what you think.

Copy link
Copy Markdown
Owner

@YS-L YS-L left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the patch! I think this feature is a nice addition.

.replace(format!("Copied row {} to clipboard", index)),
Err(e) => self
.transient_message
.replace(format!("Failed to copy to clipboard: {e}")),
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if there is a way to reduce the duplication between this if block and the above.

@YS-L YS-L merged commit dbbeebb into YS-L:main Sep 27, 2024
jqnatividad added a commit to jqnatividad/csvlens that referenced this pull request Oct 1, 2024
Copy whole row joined with tabs when cell not selected (YS-L#97)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants