Open downloadpizza opened 5 years ago
Nvm our teacher is stupid
Reopening because the real bell char \u0007 isnt played either
It is a Java shell, how do you use \b ?
First of all: i noticed \b isnt the Bell char like out teacher told US, second: System.out.println('\u0007') prints the Bell char
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)
Ill look into ways to get it running, I might make a PR if I get something working
\b doesnt play sound, firefox beta mobile : 64