Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Mar 23, 2017
1 parent 7e11039 commit cd0a252
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions builtins/src/main/java/org/jline/builtins/ScreenTerminal.java
Original file line number Diff line number Diff line change
Expand Up @@ -490,28 +490,28 @@ 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;
break;
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) {
Expand All @@ -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;
Expand All @@ -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)) {
Expand All @@ -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
}
}

Expand Down

0 comments on commit cd0a252

Please sign in to comment.