Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to paste text inside edit line with putty on Windows #211

Open
smartkid2024 opened this issue Jan 7, 2024 · 7 comments
Open

How to paste text inside edit line with putty on Windows #211

smartkid2024 opened this issue Jan 7, 2024 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@smartkid2024
Copy link

Hi
In Putty if the right click then the clipboard is pasted but in pyTermTK the right click doesn't work to paste something. is there any way to do that? paste copied text inside TermTk
And is it possible to change TermTk in the window title?
image

@ceccopierangiolieugenio
Copy link
Owner

ceccopierangiolieugenio commented Jan 8, 2024

"ctrl+v" or "ctrl+shift+v" normally supported in any terminal

The
Right click (Putty)
Mid click (any linux WM)
is a built in terminal feature that perform a paste in the app input manager

pyTermTk does not have control over it.
Any terminal app that capture the mouse, automatically disable the terminal "paste on click" feature

You can still handle the Central/Right mouse press and call the built in the clipboard paste

@smartkid2024
Copy link
Author

Hi i made a video for you and test linux terminal and putty. how could you paste from putty in your app?
https://github.com/ceccopierangiolieugenio/pyTermTk/assets/155442769/e7444cd1-43d4-46a7-aee9-bf0b486bc84e

@ceccopierangiolieugenio
Copy link
Owner

ceccopierangiolieugenio commented Jan 10, 2024

Putty seems kind of an oddball:
I managed to paste using:

SHIFT+Ins

or

CTRL+RightClick -> "Paste From CLIPBOARD"

or

SHIFT + Mid Button (I think because it is the linux default)

It seems that there is an option to enable CTRL+SHIFT+V
image

@smartkid2024
Copy link
Author

Thanks cool

@ceccopierangiolieugenio ceccopierangiolieugenio added the question Further information is requested label Jan 10, 2024
@smartkid2024
Copy link
Author

I repeat ctrl+right click and select copy doesn't work in puty. is there any solution for that?

@smartkid2024 smartkid2024 reopened this Jan 10, 2024
@ceccopierangiolieugenio
Copy link
Owner

ceccopierangiolieugenio commented Jan 10, 2024

I am trying putty under Wine
I can paste using

  • CTRL+Ins
  • SHIFT+RightMouse
  • or using the paste control in the CTRL+RightClick menu
    image

@ceccopierangiolieugenio
Copy link
Owner

ceccopierangiolieugenio commented Jan 10, 2024

the copy is more complex
since via SSH i cannot share the clipboard, you need to rely on the terminal copy mechanism

under Putty you can select using
SHIFT+LeftMouse
everything selected is copied in the clipboard automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants