From e2c69e3af7b98d61ac4d3434fd34df2380b34f34 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 15 Feb 2025 02:55:01 -0500 Subject: [PATCH] Fixed a problem with an extra line being added at the beginning of copied text. --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 54fdb57..82764e2 100755 --- a/__init__.py +++ b/__init__.py @@ -754,7 +754,7 @@ def display_text(text): if event.key == pygame.K_t: try: # Join with newlines to preserve blank lines in full text - pyperclip.copy('\n'.join(originalText[1:-1])) + pyperclip.copy(''.join(originalText[2:-1])) speak("Copied entire message to the clipboard.") except: speak("Failed to copy the text to the clipboard.")