Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.31k stars 3.36k forks source link

Word-jumping&deleting does not work on Windows #2739

Open BennyFaaren opened 4 years ago

BennyFaaren commented 4 years ago

Hello,

I cant jump words with ctrl+arrow key and deleting a word with ctrl+backspace does not work either, beside it is configurated as hotkey.

Copy and Paste with ctrl does work.

Windows 10 and latest version of Terminus.

Funding

Fund with Polar

cavejay commented 4 years ago

I also have this problem

THX1188 commented 4 years ago

So far I can only report it works with windows 10 (Microsoft Windows [Version 10.0.18363.900]) and App-version 1.0.112 using a SSH connection.

Eugeny commented 4 years ago

Which shells are you using?

cavejay commented 4 years ago

Which shells are you using?

Specifically - Local Powershell (core and local):

PS C:\Users\cavejay> $PSVersionTable           

Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}       
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

PS C:\Users\cavejay> 

When using CTRL+left CTRL+right in Powershell Core 'b' and 'f' get printed respectively. In normal powershell nothing is printed.

Terminus Info:

Version: 1.0.104
Platform: win32 10.0.18363
Plugins: none
BennyAlex commented 4 years ago

I have the same problem. In cmd ctrl+backslash prints ^H and in powershell nothing happens.

Name                           Value
----                           -----
PSVersion                      5.1.18362.752
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.752
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
BennyAlex commented 4 years ago

Only using git bash does work as expected, all other shells print a/f/h or nothing

cavejay commented 3 years ago

Found some time to poke around this issue:

I've built Terminus to use the \x8 code used by Terminal for Backspace + CTRL and didn't seem to have any success and am at the limit of my knowledge for how tty's etc function. This problem is irritating me so I'll likely find more time in future to explore.

@Eugeny would you have an off the cuff guess at what the cause of this is that I could use to look further?

Eugeny commented 3 years ago

@cavejay thanks for the investigation! I've managed to dig up the escape sequences for Ctrl-Left, Ctrl-Right and Ctrl-Delete, but it doesn't looks like there's anything else besides ^H for Ctrl-Backspace and PowerShell doesn't accept it over ConPTY.

jaanli commented 3 years ago

Also having this issue :(

Giftora commented 2 years ago

Also having this issue with Windows 11 and WSL.

spandanpradhan commented 9 months ago

Describe the bug The backspace key not working

Information about your version 1.0.205

Additional context While accessing Nokia/Huawei OLT through telnet, the backspace key doesn't function and you have to use the Ctrl+H key. Whereas the SSH connection to switches and routers the backspace key works fine.