Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tilde character ~ is not displayed in terminal using Belgian keyboard layout #9008

Closed
pierredewilde opened this issue Jul 9, 2016 · 10 comments
Assignees
Labels
terminal Integrated terminal issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@pierredewilde
Copy link

  • VSCode Version: 1.3.0
  • OS Version: Mac OS X El Capitan 10.11.5 with Belgian keyboard

Steps to Reproduce:

  1. Open Integrated Terminal (View > Integrated Terminal)
  2. Type cd ~ + Enter

The tilde character (~) is not displayed.
$ cd

@Tyriar Tyriar added info-needed Issue requires more information from poster terminal Integrated terminal issues labels Jul 9, 2016
@Tyriar Tyriar self-assigned this Jul 9, 2016
@Tyriar
Copy link
Member

Tyriar commented Jul 9, 2016

  • Does it show up if you hit ~ multiple times?
  • Does it actually input a ~ or skip the character (does the cursor move right when you hit ~, what does tab completion do when you type cd ~/?

@pierredewilde
Copy link
Author

pierredewilde commented Jul 10, 2016

  • The tilde does not appear even if hit multiple times.
  • The cursor does not move. cd ~/ is inputed as cd /

It is a keyboard layout issue: if I switch to the US keyboard layout, I can type ~. On a Belgian keyboard layout, I need to type alt+n followed by a space to produce ~. In the code editor, ~ appears. In the integrated terminal, ~ does not appear.

If I copy cd ~ from the code editor and paste it in the integrated terminal, it works as expected.

@vfx1b
Copy link

vfx1b commented Jul 11, 2016

I have the same issue with a german keyboard on macOS(OS X 10.11.1).

  • OS X 10.11.1
  • Version 1.3.0

@Tyriar
Copy link
Member

Tyriar commented Jul 11, 2016

Thanks, I think this is to do with lack of AltGr support (#7061). Please confirm 😃

@pierredewilde
Copy link
Author

I am using a MacBookAir with a Belgian keyboard layout:
https://support.apple.com/library/content/dam/edam/applecare/images/en_US/keyboards/belgian_keyboard.png

There is no AltGr key on Apple keyboard layout.

@Tyriar
Copy link
Member

Tyriar commented Jul 11, 2016

@pierredewilde if possible, could you setup https://github.com/sourcelair/xterm.js and check to see if this reproduces in the demo? This should get it up and running easily:

git clone https://github.com/sourcelair/xterm.js.git
cd xterm.js
npm install
npm start # I think this needs node <= 4
# open browser at http://0.0.0.0:3000

@pierredewilde
Copy link
Author

pierredewilde commented Jul 11, 2016

Yep, same issue after installing and running xterm.js: no tilde appears.

BTW, you don't need node <= 4. Tested with node 6.3.0.

@Tyriar Tyriar changed the title Tilde character ~ is not displayed in Integrated Terminal Tilde character ~ is not displayed in terminal using Belgian keyboard layout Jul 12, 2016
@Tyriar
Copy link
Member

Tyriar commented Jul 12, 2016

This issue was moved to xtermjs/xterm.js#174

@Tyriar Tyriar closed this as completed Jul 12, 2016
@Tyriar
Copy link
Member

Tyriar commented Jul 12, 2016

@pierredewilde thanks, moved it upstream :)

@Tyriar Tyriar added upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed info-needed Issue requires more information from poster labels Jul 12, 2016
@Tyriar Tyriar reopened this Jul 13, 2016
@Tyriar Tyriar added the bug Issue identified by VS Code Team member as probable bug label Jul 13, 2016
@Tyriar Tyriar added the help wanted Issues identified as good community contribution opportunities label Sep 6, 2016
@Tyriar
Copy link
Member

Tyriar commented Apr 20, 2017

Tracking this in xtermjs/xterm.js#174

@Tyriar Tyriar closed this as completed Apr 20, 2017
@Tyriar Tyriar removed bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities labels Apr 20, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
terminal Integrated terminal issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants