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

Terminal Input Not Visible When Pasting Commands #1127

Closed
nyxb opened this issue Jan 17, 2025 · 6 comments
Closed

Terminal Input Not Visible When Pasting Commands #1127

nyxb opened this issue Jan 17, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@nyxb
Copy link

nyxb commented Jan 17, 2025

To Reproduce

  1. Install and start dokploy
  2. Open a new terminal process
  3. Type any command manually - input will be visible as expected
  4. Copy any command (e.g. ls -la) and paste it into the terminal
  5. Observe that the pasted command is not visible in the terminal, only the prompt "joyou=#" is shown
  6. If you select/highlight the area after the prompt, the pasted text becomes visible
  7. Press Enter to execute the pasted command

Make sure to:

  • Use a clean dokploy installation
  • Test with different commands to paste
  • Try both short and long commands

Image

Image

Current vs. Expected behavior

When following the steps above:

Expected behavior:

  • Both manually typed and pasted commands should be visible in the terminal window
  • Users should be able to see and verify the command before execution

Current behavior:

  • Manually typed commands are displayed correctly
  • Pasted commands are not visible at all
  • Only the terminal prompt is shown when pasting content
  • The commands still execute but users cannot verify what they're about to run

Additional context

his appears to be a terminal input handling issue specifically related to pasted content. The issue impacts usability and security since users cannot verify commands before execution. The terminal seems to process the input differently based on whether it's typed or pasted.

@nyxb nyxb added the bug Something isn't working label Jan 17, 2025
@2003Aditya
Copy link

@Siumauricio can i work on this issue ?

@Siumauricio
Copy link
Contributor

Yes @2003Aditya

@biati-digital
Copy link

Not sure if related but when using light mode the terminal text is completely invisible, you need to select to be able to see the text

Image

Image

To replicate

Image

@vishalkadam47
Copy link
Contributor

vishalkadam47 commented Jan 24, 2025

Fixed the invisible pasted text in terminal #1203

  • but still there is an issue when you use up/down Arrow for history

@Siumauricio
Copy link
Contributor

Not sure if related but when using light mode the terminal text is completely invisible, you need to select to be able to see the text

Image

Image

To replicate

Image

I tested in the current version and is working fine

Image

@Siumauricio
Copy link
Contributor

Fixed in #1203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants