termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
36.94k stars 3.88k forks source link

[Feature]: Support pasting with Ctrl + shift + V #4126

Open Ammar64 opened 3 months ago

Ammar64 commented 3 months ago

Feature description

Neither Ctrl + Shift + V nor Ctrl + V can paste copied text into termux. Note that NEITHER pressing the Ctrl button built in termux nor pressing the Ctrl button built in the keyboard work. it would be nice if you add it.

Additional information

I use unexpected keyboard to use Ctrl + shift + V here is the keyboard https://f-droid.org/packages/juloo.keyboard2/ The shortcut Ctrl + V works in other apps with the keyboard.

freebrowser1 commented 2 months ago

Indeed, nor on Hackers Keyboard or Multiling O keyboard on the device itself. Long pressing the background and then selecting 'paste' is a workaround.

But a remote terminal ssh'ing into Termux it does work, e.g. from a Linux or macOS terminal (cmd+v in the latter case).

Ammar64 commented 2 months ago

It works on linux and macOS because the terminal on these systems supports keyboard-shortcut pasting. ssh just sends the text you pasted to termux.