You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20241205-083533-6f375e29
Ask your question!
What do the coordinates mean in pane:get_text_from_region(start_x, start_y, end_x, end_y)¶ command?
Why does this command NOT copy anything, when I expect it to copy text from column 10 to column 15 on the first line 0 of the scollback buffer? If I change end_y to 1, I do get a selection, but only from column 10 to the beginning of next line, so the first x is working, but the ending x isnt"
localbeg_x=10-- column 10 of the beginning of selection?localbeg_y=0-- first rowlocalend_x=15-- column 15 of the end of selectionlocalend_y=0-- first rowlocaltxt=pane:get_text_from_region(beg_x, beg_y, end_x, end_y)
win:copy_to_clipboard(txt)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What Operating System(s) are you running on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20241205-083533-6f375e29
Ask your question!
What do the coordinates mean in
pane:get_text_from_region(start_x, start_y, end_x, end_y)
¶ command?Why does this command NOT copy anything, when I expect it to copy text from column 10 to column 15 on the first line 0 of the scollback buffer? If I change
end_y
to 1, I do get a selection, but only from column 10 to the beginning of next line, so the first x is working, but the ending x isnt"Beta Was this translation helpful? Give feedback.
All reactions