Giter VIP home page Giter VIP logo

Comments (11)

felixse avatar felixse commented on June 27, 2024

That's something you would need to configure in your shell, or maybe add some kind of 'per shell' keyboard aliases to Fluent Terminal. What shell are you using?

from fluentterminal.

moigagoo avatar moigagoo commented on June 27, 2024

Crtl + Backspace is a standard Windows shortcut, it works across all apps including PowerShell and cmd. However, xtermjs seems to not support it. Hyper doesn't support it either, for example.

Since you asked, I'm using pwsh.

from fluentterminal.

Riebart avatar Riebart commented on June 27, 2024

Bash in the WSL Ubuntu 18.04 obeys Alt+Backspace, so this is likely less of a "Does the terminal emulator pass my keystrokes correctly" and more of a "What does your shell do with the keystrokes" question.

from fluentterminal.

subhead avatar subhead commented on June 27, 2024

When i try to ctrl + backspace in the Bash on WSL Ubuntu 18.04 it will onlydelete the last character like when i use backspace without ctrl. I tried bash, zsh, fish ans dash and all have the same behaviour.

from fluentterminal.

Riebart avatar Riebart commented on June 27, 2024

Try Alt+Backspace, see if that works.

from fluentterminal.

subhead avatar subhead commented on June 27, 2024

yes alt + backspace works. thanks.

from fluentterminal.

alexknips avatar alexknips commented on June 27, 2024

Can you explain why this is mapped to alt + backspace instead of the usual ctrl + backspace and how/where this is configured? Thanks

from fluentterminal.

felixse avatar felixse commented on June 27, 2024

in xterm.js: https://github.com/xtermjs/xterm.js/blob/509ce5fa3a698ee7847419117e9dd6b979b105bf/src/core/input/Keyboard.ts#L90

We could either start a discussion there or create a workaround in attachCustomKeyEventHandler on our site

from fluentterminal.

alexknips avatar alexknips commented on June 27, 2024

Thanks for the quick reply. Obviously it would be nice if they could make these keyboard shortcuts configurable

from fluentterminal.

onguarde avatar onguarde commented on June 27, 2024

This is a major deal breaker for me, since I use this shortcut so often.
Alt+ backspace does not work for me. It gives me this weird character,
image

Found a workaround.

  1. Use Ctrl + w instead of Ctrl+Backspace.

  2. Use autohotkey to remap Ctrl + Backspace to Ctrl + w
    keyboard shortcuts - Use Ctrl+Backspace to delete word in Windows command line? - Super User
    https://superuser.com/questions/224481/use-ctrlbackspace-to-delete-word-in-windows-command-line

from fluentterminal.

DennisKassel avatar DennisKassel commented on June 27, 2024

Alt + backspace doesn't work for me neither. I don't understand why it is so difficult to implement this. In Windows all consoles (cmd, Powershell) support this.

from fluentterminal.

Related Issues (20)

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.