#OpenBSD folk that use Xterm I have a strange problem that when i highlight text say from the output of fastfetch and then paste it I get weird extras on the end , sometimes with what looks like font names that I don't use.

I pasted my laptops model number and it showed up as this 20Y1000SUKp-_g^O^C when it should have been just what I highlighted 20Y1000SUK
This is supposed to be /usr/X11R6 when pasted shows as /usr/X11R6Lohit Tamil

My .Xresources is below.

XTerm*termName: xterm-256color
XTerm*locale: true
XTerm*highlightSelection: true
XTerm*trimSelection: true
XTerm*saveLinew: 4096
XTerm*scrollBar: false
XTerm*cursorBlink: true
XTerm.VT100.utf8: true
XTerm*allowScrollLock: true

! Xcursor theme
Xcursor.theme: Adwaita
Xcursor.size: 24

! Font
XTerm*faceName: Go Mono Nerd Font Mono
XTerm*renderFont: true
XTerm*faceSize: 10

Xft.dpi: 96

XTerm*keepClipboard: true
XTerm*selectToClipboard: true
XTerm*VT100.Translations: #override \n\
Ctrl Shift <KeyPress>C: copy-selection(CLIPBOARD) \n\
Ctrl Shift <KeyPress>V: insert-selection(CLIPBOARD)

! Clicking a line selects only from the current word forward
XTerm*cutToBeginningOfLine : false
! and dont include a trailing newline in the selection!
XTerm*cutNewline : false
! Some black magic to change what characters XTerm considers "word delimiters"
XTerm*charClass : 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! Select word on two clicks
XTerm*on2Clicks : word
! Select whole line on three clicks
XTerm*on3Clicks : line
! Select whole group on four clicks
XTerm*on4Clicks: group
! Select whole page on five clicks
XTerm*on5Clicks: page

! Gruvbox theme
XTerm*background: #262626
XTerm*foreground: #ebdbb2
XTerm*color0: #262628
XTerm*color8: #928374
XTerm*color1: #CC241D
XTerm*color9: #fb4934
XTerm*color2: #98971a
XTerm*color10: #b8bb26
XTerm*color3: #FF8F15
XTerm*color11: #FFAF00
XTerm*color4: #458588
XTerm*color12: #83a598
XTerm*color5: #b16286
XTerm*color13: #d3869b
XTerm*color6: #689d6a
XTerm*color14: #8ec07c
XTerm*color7: #a89984
XTerm*color15: #ebdbb2
@fembinary

! X colors.
! Generated by 'wal'
*foreground: #ebdbb2
*background: #282828
*.foreground: #ebdbb2
*.background: #282828
emacs*foreground: #ebdbb2
emacs*background: #282828
URxvt*foreground: #ebdbb2
XTerm*foreground: #ebdbb2
UXTerm*foreground: #ebdbb2
URxvt*background: [100]#282828
XTerm*background: #282828
UXTerm*background: #282828
URxvt*cursorColor: #bdae93
XTerm*cursorColor: #bdae93
UXTerm*cursorColor: #bdae93
URxvt*borderColor: [100]#282828

! Colors 0-15.
*.color0: #3c3836
*color0: #3c3836
*.color1: #cc241d
*color1: #cc241d
*.color2: #98971a
*color2: #98971a
*.color3: #d79921
*color3: #d79921
*.color4: #458588
*color4: #458588
*.color5: #b16286
*color5: #b16286
*.color6: #689d6a
*color6: #689d6a
*.color7: #a89984
*color7: #a89984
*.color8: #928374
*color8: #928374
*.color9: #fb4934
*color9: #fb4934
*.color10: #b8bb26
*color10: #b8bb26
*.color11: #fabd2f
*color11: #fabd2f
*.color12: #83a598
*color12: #83a598
*.color13: #d3869b
*color13: #d3869b
*.color14: #8ec07c
*color14: #8ec07c
*.color15: #fbf1c7
*color15: #fbf1c7

! Black color that will not be affected by bold highlighting.
*.color66: #3c3836
*color66: #3c3836

! Xclock colors.
XClock*foreground: #ebdbb2
XClock*background: #282828
XClock*majorColor: rgba:fb/f1/c7/ff
XClock*minorColor: rgba:fb/f1/c7/ff
XClock*hourColor: rgba:fb/f1/c7/ff
XClock*minuteColor: rgba:fb/f1/c7/ff
XClock*secondColor: rgba:fb/f1/c7/ff

! Set depth to make transparency work.
URxvt*depth: 32
@tut
background=#1D2021
text=#D4BE98
subtle=#4271AE
warning-text=#EA6962
text-special-one=#D3869B
text-special-two=#D3869B
top-bar-background=#89B482
top-bar-text=#D4BE98
status-bar-background=#A9B665
status-bar-text=#D4BE98
status-bar-view-background=#1D2021
status-bar-view-text=#D4BE98
list-selected-background=#1D2021
list-selected-text=#7DAEA3

@brwolfgang
Thanks.
if you like it you can use this scheme:

"#282828",
"#cc241d",
"#98971a",
"#d79921",
"#458588",
"#b16286",
"#689d6a",
"#a89984",
"#928374",
"#fb4934",
"#b8bb26",
"#fabd2f",
"#83a598",
"#d3869b",
"#8ec07c",
"#ebdbb2",

"#282828", /* 256 -> bg */
"#ebdbb2", /* 257 -> fg */
"#add8e6", /* 258 -> cursor */