felixse / FluentTerminal

A Terminal Emulator based on UWP and web technologies.
GNU General Public License v3.0
9.21k stars 443 forks source link

Control + Backspace does not delete the word #946

Open prattay56 opened 3 years ago

prattay56 commented 3 years ago

Ctrl-Backspace will not delete the entire word to the left of your cursor in one keystroke.

altimmons commented 3 years ago

I suspect this works in powershell, I doubt it works in command, and is unlikely to work in Linux/WSL you can try typing this: TERM=xterm to the environment, and see if it helps.

I believe this is a funtion that must be implemented by the terminal you are connecting to and not this software.

Correct me if I am wrong. I do personally love that shortcut, and other similar ones. But because of that, I have looked into this in the past.

prattay56 commented 3 years ago

Hello Andy,

It works with Windows powershell both legacy and new tabbed version.

Regards Aman Das

On Wed, 4 Aug 2021, 11:50 pm Andy Timmons, @.***> wrote:

I suspect this works in powershell, I doubt it works in command, and is unlikely to work in Linux/WSL you can try typing this: TERM=xterm to the environment, and see if it helps.

I believe this is a funtion that must be implemented by the terminal you are connecting to and not this software.

Correct me if I am wrong. I do personally love that shortcut, and other similar ones. But because of that, I have looked into this in the past.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/felixse/FluentTerminal/issues/946#issuecomment-892872851, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3B3ACD7WNGERK7B6QGSC3T3GAIDANCNFSM5BL5JZ7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

altimmons commented 3 years ago

Yes - that’s what I said. It’s environment dependent- not fluent dependent

On Aug 4, 2021, at 3:10 PM, prattay56 @.***> wrote:

 Hello Andy,

It works with Windows powershell both legacy and new tabbed version.

Regards Aman Das

On Wed, 4 Aug 2021, 11:50 pm Andy Timmons, @.***> wrote:

I suspect this works in powershell, I doubt it works in command, and is unlikely to work in Linux/WSL you can try typing this: TERM=xterm to the environment, and see if it helps.

I believe this is a funtion that must be implemented by the terminal you are connecting to and not this software.

Correct me if I am wrong. I do personally love that shortcut, and other similar ones. But because of that, I have looked into this in the past.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/felixse/FluentTerminal/issues/946#issuecomment-892872851, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3B3ACD7WNGERK7B6QGSC3T3GAIDANCNFSM5BL5JZ7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

prattay56 commented 3 years ago

Hello Andy,

My environment is Windows 10. In this Fluent Terminal 2nd in the Apps category - below SS. This doesnot work. However other terminal in windows as mentioned, work. I was expecting the same with Fluent Terminal in windows 10 as well. Let me know if you or the team plans to include this binding in the future if not considered as a Bug. [image: image.png]

Aman Das

On Thu, Aug 5, 2021 at 1:12 AM Andy Timmons @.***> wrote:

Yes - that’s what I said. It’s environment dependent- not fluent dependent

On Aug 4, 2021, at 3:10 PM, prattay56 @.***> wrote:

 Hello Andy,

It works with Windows powershell both legacy and new tabbed version.

Regards Aman Das

On Wed, 4 Aug 2021, 11:50 pm Andy Timmons, @.***> wrote:

I suspect this works in powershell, I doubt it works in command, and is unlikely to work in Linux/WSL you can try typing this: TERM=xterm to the environment, and see if it helps.

I believe this is a funtion that must be implemented by the terminal you are connecting to and not this software.

Correct me if I am wrong. I do personally love that shortcut, and other similar ones. But because of that, I have looked into this in the past.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/felixse/FluentTerminal/issues/946#issuecomment-892872851 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AR3B3ACD7WNGERK7B6QGSC3T3GAIDANCNFSM5BL5JZ7A

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/felixse/FluentTerminal/issues/946#issuecomment-892924313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR3B3ACENZAEZPAKLV6K5PLT3GJ2TANCNFSM5BL5JZ7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

prattay56 commented 3 years ago

rec

prattay56 commented 2 years ago

Hello Team, wanted to follow up this. Let me know if you were able to repro this.

prattay56 commented 2 years ago

Hello Team, wanted to follow up this. Any update?

hanskokx commented 2 years ago

This is an xterm.js issue. Go ahead and give it a shot on their demo implementation on their homepage. https://xtermjs.org/

jzymx50 commented 2 years ago

Using Fluent Terminal today and came across the same issue. As an alternative, you can set jumping-between-words shortcut for the PowerShell, and use control + shift + leftarrow to select words.

Install PSReadline

$ Install-Module -Name PSReadLine -AllowPrerelease

Open your powershell profile:

$ notepad $PROFILE

Add these lines:

Import-Module PSReadLine
Set-PSReadLineKeyHandler -Key "Ctrl+RightArrow" -Function ForwardWord
Set-PSReadLineKeyHandler -Key "Ctrl+LeftArrow" -Function BackwardWord

Save and close. Now you are ready to go!

lwbt commented 1 year ago

For this specific issue I started to use ctrl+right-arrow and delete the word with alt+d, this also works on PowerShell with PSReadLine. PSReadLine also offers the same functionality as ctrl+backspace with ctrl+w.

Could someone do a bit of cleanup on the open issues?

It looks like this is going nowhere without an upstream bug report that can be tracked, if the issue really exist upstream. But I have doubt that it does, comments by some here referring to "upstream" without a linked issue is a non-constructive blame game to me.

To me it looks more like an implementation issue of the component after reading through this thread: https://github.com/xtermjs/xterm.js/issues/1179