mirror of git://git.sv.gnu.org/nano.git
tweaks: normalize the indentation after the previous change
This finally gets rid of the piece of specially reduced indentation (<-<- ... ->->) that made it hard to see the structure of the code.
This commit is contained in:
parent
c14e77ce9e
commit
12fe0a3b29
|
@ -488,7 +488,6 @@ int convert_CSI_sequence(const int *seq, size_t length, int *consumed)
|
||||||
return KEY_F(seq[1] - '1');
|
return KEY_F(seq[1] - '1');
|
||||||
}
|
}
|
||||||
} else if (length > 3 && seq[1] == ';') {
|
} else if (length > 3 && seq[1] == ';') {
|
||||||
/* <-<-<-<-<-<-<- */
|
|
||||||
*consumed = 4;
|
*consumed = 4;
|
||||||
switch (seq[2]) {
|
switch (seq[2]) {
|
||||||
case '2':
|
case '2':
|
||||||
|
@ -571,7 +570,6 @@ int convert_CSI_sequence(const int *seq, size_t length, int *consumed)
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
/* ->->->->->->-> */
|
|
||||||
} else if (length > 4 && seq[2] == ';' && seq[4] == '~')
|
} else if (length > 4 && seq[2] == ';' && seq[4] == '~')
|
||||||
/* Esc [ 1 n ; 2 ~ == F17...F20 on some terminals. */
|
/* Esc [ 1 n ; 2 ~ == F17...F20 on some terminals. */
|
||||||
*consumed = 5;
|
*consumed = 5;
|
||||||
|
|
Loading…
Reference in New Issue