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

Bell char doesnt work #5

Open
downloadpizza opened this issue Nov 27, 2018 · 6 comments
Open

Bell char doesnt work #5

downloadpizza opened this issue Nov 27, 2018 · 6 comments

Comments

@downloadpizza
Copy link

\b doesnt play sound,
firefox beta mobile : 64

@downloadpizza
Copy link
Author

Nvm our teacher is stupid

@downloadpizza downloadpizza reopened this Nov 27, 2018
@downloadpizza
Copy link
Author

Reopening because the real bell char \u0007 isnt played either

@rahmanusta
Copy link
Contributor

It is a Java shell, how do you use \b ?

@downloadpizza
Copy link
Author

First of all: i noticed \b isnt the Bell char like out teacher told US, second: System.out.println('\u0007') prints the Bell char

@osmundf
Copy link

osmundf commented Jul 23, 2019

I can confirm that the following does in fact cause the "bell":
jshell> System.out.print("\u0007")

or
jshell> System.out.print('\u0007')

I don't see how this can be implemented for tryjshell though ☺️
MacOS 10.14.4 + Java 11.0.2 (Oracle JDK)

@downloadpizza
Copy link
Author

Ill look into ways to get it running, I might make a PR if I get something working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants