From c1d20afc64c9dc4e7fe06902f6a6fc5b27223081 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 18 Dec 2017 10:15:30 -0800 Subject: [PATCH] Remove visual bell API until it's added back Fixes #1155 --- fixtures/typings-test/typings-test.ts | 4 ++-- typings/xterm.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fixtures/typings-test/typings-test.ts b/fixtures/typings-test/typings-test.ts index 887eb322..d5e564c5 100644 --- a/fixtures/typings-test/typings-test.ts +++ b/fixtures/typings-test/typings-test.ts @@ -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'); diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 43be69c2..74654035 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -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.