question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show a confirmation dialog when Ctrl+W is pressed in the terminal

See original GitHub issue

Description

ctrl+w is the standard “kill word” (aka werase) hotkey in terminal, and it’s weird to see Che Theia tab closed after trying to erase the last word. This issue is a feature request to show a confirmation dialog when Ctrl+W is pressed in the terminal.

Reproduction Steps

  1. Start Che 7 Workspace.
  2. Open terminal.
  3. Press ctrl+w. Actual: Che Theia browser tab is closed. Expected: Ideal behavior would be the same as in native terminal - last word is erased, but I afraid whether it is possible to override such browser hotkey. So, at least a confirmation dialog should be shown before closing, because it’s a typical thing when user press ctrl+w in terminal and does not to close tab.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
benoitfcommented, Feb 12, 2020

@amisevsk you need to remove stale as well

1reaction
amisevskcommented, Jun 20, 2019

This one has been bothering me for awhile as well – I’ve closed a Che tab so many times 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Userscript for creating a confirmation popup whenever ...
via pressing Ctrl + Enter : if user presses Ok in the popup, then the script to allow the submit, but if the...
Read more >
Terminal: Provide way to input Ctrl+W #14545 - GitHub
When using the terminal, trying to use CTRL + W pops up a window asking if I am sure I want to close...
Read more >
Windows Terminal Actions | Microsoft Learn
A confirmation dialog will appear in the current window to ensure you'd like to close all windows. Command name: quit. Default Binding: JSON...
Read more >
How to supress "Terminate batch job (Y/N)" confirmation?
Whenever cmd is running a batch file, tapping Ctrl+C will cause the currently running process to terminate and show the question. – Joey....
Read more >
Mac keyboard shortcuts - Apple Support (KE)
You can then press Shift-Command-Z to Redo, reversing the undo command. ... Control–Power button* or Control–Media Eject : Display a dialog ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found