[Jython-checkins] jython (merge 2.5 -> default): merge w/2.5: Disabling the jline bell

alan.kennedy jython-checkins at python.org
Thu Mar 29 21:38:14 CEST 2012


http://hg.python.org/jython/rev/3ab970a481ea
changeset:   6500:3ab970a481ea
parent:      6498:e92d8b276f06
parent:      6499:1f79b129c3bf
user:        Alan Kennedy <alan at xhaus.com>
date:        Thu Mar 29 20:37:19 2012 +0100
summary:
  merge w/2.5: 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