Giter Club home page Giter Club logo

Comments (11)

miracle777 avatar miracle777 commented on May 31, 2024 1

Sorry, I'm sorry, I'm not sure what to do.
I have only just started using it and have not tried it with more than one application.
In Notepad, I was able to paste.
In Terminal, I can't seem to paste.

from terminal.

jelveh avatar jelveh commented on May 31, 2024

Thank you for the bug report!
Where in Puter were you trying to paste the text into?

from terminal.

miracle777 avatar miracle777 commented on May 31, 2024

Thank you very much.
I have now copied the text from the Windows app to my Puter notepad.

The first thing I tried was to paste the text, into Terminal

from terminal.

KernelDeimos avatar KernelDeimos commented on May 31, 2024

The first thing I tried was to paste the text, into Terminal

Is this only happening for the Terminal app?

from terminal.

jelveh avatar jelveh commented on May 31, 2024

I have the same issue, I can't paste text into the Terminal

from terminal.

miracle777 avatar miracle777 commented on May 31, 2024

Text could not be pasted from the Puter notepad to the terminal.
Not being able to paste text into the terminal is inconvenient, but I would like to enter it manually as an opportunity to learn the commands.

from terminal.

jelveh avatar jelveh commented on May 31, 2024

Ctrl + Shift + V will paste it. But I think it would be better if we had the same keyboard shortcuts as the host environment. Even I got confused right now.

from terminal.

miracle777 avatar miracle777 commented on May 31, 2024

Thank you very much.
I have now been able to paste it.
Thank you for your help.

from terminal.

KernelDeimos avatar KernelDeimos commented on May 31, 2024

The trouble with using Ctrl+V for paste is that this sequence also has special meaning for terminal emulators; it instructs the terminal to enter the next input literally, which is sometimes useful. For example if you want to input ETX (0x03) you would type Ctrl+V,Ctrl+C.

What we could do is reverse these - make Ctrl+Shift+V used for literal inputs and Ctrl+V used for paste.

Also I'm going to move this issue to the repository for the terminal app.

from terminal.

lucj avatar lucj commented on May 31, 2024

Hi, on MacOS I can copy from the host and paste into the NotePad application, but I cannot do the same in the Terminal app.

from terminal.

AtkinsSJ avatar AtkinsSJ commented on May 31, 2024

I'm seeing two issues:

  1. Neither Ctrl-V or Ctrl-Shift-V work for me on Firefox.
  2. "Paste" in the context menu also doesn't work. That's probably an xterm.js issue?

For 1, that's an issue with navigator.clipboard.readText() having patchy support in different browsers. Though if we reversed the shortcuts as @KernelDeimos suggested, we could probably get by that by just not consuming the key events when Ctrl-V is pressed, and letting the browser handle it normally. Though 2 suggests that might still not work.

from terminal.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.