[Jython-checkins] jython (2.5): Disabling the jline bell
alan.kennedy
jython-checkins at python.org
Thu Mar 29 21:38:13 CEST 2012
http://hg.python.org/jython/rev/1f79b129c3bf
changeset: 6499:1f79b129c3bf
branch: 2.5
parent: 6497:29a0cbeffdbd
user: Alan Kennedy <alan at xhaus.com>
date: Thu Mar 29 20:35:49 2012 +0100
summary:
Disabling the jline bell
files:
src/org/python/util/JLineConsole.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/org/python/util/JLineConsole.java b/src/org/python/util/JLineConsole.java
--- a/src/org/python/util/JLineConsole.java
+++ b/src/org/python/util/JLineConsole.java
@@ -78,6 +78,7 @@
Writer output = new OutputStreamWriter(new FileOutputStream(FileDescriptor.out),
"ISO-8859-1");
reader = new ConsoleReader(input, output, getBindings());
+ reader.setBellEnabled(false);
} catch (IOException e) {
throw new RuntimeException(e);
}
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list