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.

⌘-k not clearing the terminal

See original GitHub issue

Versions

VS Code: Version 1.15.1 (1.15.1) | 41abd21afdf7424c89319ee7cb0445cc6f376959 | 2017-08-16T17:11:22.564Z

macOS Sierra: Version 10.12.3

Atom Keymap version: 3.0.1


Problem

⌘-k does not clear the terminal as expected

Steps to Reproduce

  1. Install and activate “Atom Keymap” (“Code” > “Preferences” > “Keymap Extensions (⌘-K ⌘-M)”)
  2. Open integrated terminal and ensure it has focus (⌘- ![firefox-nightly-57-about-logo](https://user-images.githubusercontent.com/7552754/29482008-11f040c8-8446-11e7-9c97-ad216c3ede8f.png) )
  3. Press ⌘-k to trigger the clear command

image

Expected Clears terminal

Actual Shows message about chord and does not execute clear:

image

Notes

  • (a) Disabling the Atom Keymap, (b) removing the "atomKeymap.promptV3Features": true, from my settings, and © restarting VS Code fixes the problem, but of course, doing so leaves me without the Atom Keymapping. 😦
  • related discussion (such that it was): https://github.com/Microsoft/vscode/issues/25059

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
am17torrescommented, Jun 14, 2018

For those of you who are okay with hacks, this is how I resolved the issue. screen shot 2018-04-27 at 9 58 06 am

0reactions
chrisdiascommented, May 3, 2020

fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I clear the screen in Terminal (no CLS)
If you're using the built-in Terminal app: Edit > Clear Scrollback ⌥⌘K (Alt+Cmd+K). Edit > Clear Screen ⌃⌘L (Ctrl+Cmd+L). If you're using iTerm:....
Read more >
Terminal CMD+K Not Clearing Integrated Terminal #25059
Steps to Reproduce: Open integrated terminal and ensure it has focus; Press CMD+K to trigger to clear command: screen shot 2017-04-19 at 10...
Read more >
How can I clear the terminal in Visual Studio Code?
Use Ctrl + K to clear the terminal. But this is not possible in Linux Visual Studio Code. For Linux you can do...
Read more >
How do you clear the terminal on a Mac? - Quora
In Terminal on macOS, to clear the current window (but not clear the history or anything else like that) either hit ⌘+K or...
Read more >
Clear terminal using keyboard shortcut - linux - Super User
In the Terminal app, map Preferences > Shortcuts > Reset and Clear to Ctrl + Shift + k . Now Ctrl + k...
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