Merge pull request #1156 from Tyriar/1155_visual_bell

Remove visual bell API until it's added back
This commit is contained in:
Daniel Imms
2017-12-19 13:29:48 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -170,9 +170,9 @@ namespace methods_core {
t.setOption('handler', (data: string) => console.log(data));
t.setOption('bellSound', 'foo');
t.setOption('bellStyle', 'none');
t.setOption('bellStyle', 'visual');
// t.setOption('bellStyle', 'visual');
t.setOption('bellStyle', 'sound');
t.setOption('bellStyle', 'both');
// t.setOption('bellStyle', 'both');
t.setOption('fontSize', 1);
t.setOption('lineHeight', 1);
t.setOption('fontFamily', 'foo');
+1 -1
View File
@@ -20,7 +20,7 @@ declare module 'xterm' {
/**
* The type of the bell notification the terminal will use.
*/
bellStyle?: 'none' | 'visual' | 'sound' | 'both';
bellStyle?: 'none' /*| 'visual'*/ | 'sound' /*| 'both'*/;
/**
* The number of columns in the terminal.