From cd0a25276c220c57e77aa18c8d1cd7753d15fc38 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 23 Mar 2017 12:05:00 +0100 Subject: [PATCH] Fix code formatting --- .../org/jline/builtins/ScreenTerminal.java | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/builtins/src/main/java/org/jline/builtins/ScreenTerminal.java b/builtins/src/main/java/org/jline/builtins/ScreenTerminal.java index f8605951a..a5e1afdc0 100644 --- a/builtins/src/main/java/org/jline/builtins/ScreenTerminal.java +++ b/builtins/src/main/java/org/jline/builtins/ScreenTerminal.java @@ -490,19 +490,19 @@ private void vt100_setmode(String p, boolean state) { case "4": // Insertion replacement mode vt100_mode_insert = state; - // 5 : SRTM: Status reporting transfer - // 7 : VEM: Vertical editing - // 10 : HEM: Horizontal editing - // 11 : PUM: Positioning nit - // 12 : SRM: Send/receive - // 13 : FEAM: Format effector action - // 14 : FETM: Format effector transfer - // 15 : MATM: Multiple area transfer - // 16 : TTM: Transfer termination - // 17 : SATM: Selected area transfer - // 18 : TSM: Tabulation stop - // 19 : EBM: Editing boundary break; + // 5 : SRTM: Status reporting transfer + // 7 : VEM: Vertical editing + // 10 : HEM: Horizontal editing + // 11 : PUM: Positioning nit + // 12 : SRM: Send/receive + // 13 : FEAM: Format effector action + // 14 : FETM: Format effector transfer + // 15 : MATM: Multiple area transfer + // 16 : TTM: Transfer termination + // 17 : SATM: Selected area transfer + // 18 : TSM: Tabulation stop + // 19 : EBM: Editing boundary case "20": // LNM: Line feed/new line vt100_mode_lfnewline = state; @@ -510,8 +510,8 @@ private void vt100_setmode(String p, boolean state) { case "?1": // DECCKM: Cursor keys vt100_mode_cursorkey = state; - // ?2 : DECANM: ANSI break; + // ?2 : DECANM: ANSI case "?3": // DECCOLM: Column if (vt100_mode_column_switch) { @@ -522,8 +522,8 @@ private void vt100_setmode(String p, boolean state) { } reset_screen(); } - // ?4 : DECSCLM: Scrolling break; + // ?4 : DECSCLM: Scrolling case "?5": // DECSCNM: Screen vt100_mode_inverse = state; @@ -540,23 +540,23 @@ private void vt100_setmode(String p, boolean state) { case "?7": // DECAWM: Autowrap vt100_mode_autowrap = state; - // ?8 : DECARM: Autorepeat - // ?9 : Interlacing - // ?18 : DECPFF: Print form feed - // ?19 : DECPEX: Printer extent break; + // ?8 : DECARM: Autorepeat + // ?9 : Interlacing + // ?18 : DECPFF: Print form feed + // ?19 : DECPEX: Printer extent case "?25": // DECTCEM: Text cursor enable vt100_mode_cursor = state; - // ?34 : DECRLM: Cursor direction, right to left - // ?35 : DECHEBM: Hebrew keyboard mapping - // ?36 : DECHEM: Hebrew encoding mode break; + // ?34 : DECRLM: Cursor direction, right to left + // ?35 : DECHEBM: Hebrew keyboard mapping + // ?36 : DECHEM: Hebrew encoding mode case "?40": // Column switch control vt100_mode_column_switch = state; - // ?42 : DECNRCM: National replacement character set break; + // ?42 : DECNRCM: National replacement character set case "?1049": // Alternate screen mode if ((state && !vt100_mode_alt_screen) || (!state && vt100_mode_alt_screen)) { @@ -575,16 +575,16 @@ private void vt100_setmode(String p, boolean state) { cy = Math.min(c, height - 1); } vt100_mode_alt_screen = state; - // ?57 : DECNAKB: Greek keyboard mapping break; + // ?57 : DECNAKB: Greek keyboard mapping case "?67": // DECBKM: Backarrow key vt100_mode_backspace = state; break; + // ?98 : DECARSM: auto-resize + // ?101 : DECCANSM: Conceal answerback message + // ?109 : DECCAPSLK: caps lock } - // ?98 : DECARSM: auto-resize - // ?101 : DECCANSM: Conceal answerback message - // ?109 : DECCAPSLK: caps lock } }