# HG changeset patch # User jlahoda # Date 1469541171 -7200 # Node ID b8d3d2487379f9aa43d80a581d8ea4344a75dd6f # Parent d290bef927c4b61f5dc001592fbbae4465540bdc 8162255: 'Alt-Enter v'/'Alt-Enter i' not working on some terminals Summary: Registering an additional code sequence for Alt-Enter Reviewed-by: rfield diff -r d290bef927c4 -r b8d3d2487379 langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java --- a/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java Fri Jul 22 12:38:06 2016 +0100 +++ b/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java Tue Jul 26 15:52:51 2016 +0200 @@ -233,6 +233,7 @@ private static final String DOCUMENTATION_SHORTCUT = "\033\133\132"; //Shift-TAB private static final String[] SHORTCUT_FIXES = { "\033\015", //Alt-Enter (Linux) + "\033\012", //Alt-Enter (Linux) "\033\133\061\067\176", //F6/Alt-F1 (Mac) "\u001BO3P" //Alt-F1 (Linux) };