File tree Expand file tree Collapse file tree 3 files changed +531
-6
lines changed Expand file tree Collapse file tree 3 files changed +531
-6
lines changed Original file line number Diff line number Diff line change 9
9
// spell-checker:ignore isig icanon iexten echoe crterase echok echonl noflsh xcase tostop echoprt prterase echoctl ctlecho echoke crtkill flusho extproc
10
10
// spell-checker:ignore lnext rprnt susp swtch vdiscard veof veol verase vintr vkill vlnext vquit vreprint vstart vstop vsusp vswtc vwerase werase
11
11
// spell-checker:ignore sigquit sigtstp
12
+ // spell-checker:ignore cbreak decctlq evenp litout oddp
12
13
13
14
use crate :: Flag ;
14
15
@@ -372,3 +373,23 @@ pub const CONTROL_CHARS: &[(&str, S)] = &[
372
373
// Discards the current line.
373
374
( "discard" , S :: VDISCARD ) ,
374
375
] ;
376
+
377
+ /// This constant lists all possible combination settings, using a bool to represent if the setting is negatable
378
+ pub const COMBINATION_SETTINGS : & [ ( & str , bool ) ] = & [
379
+ ( "LCASE" , true ) ,
380
+ ( "lcase" , true ) ,
381
+ ( "cbreak" , true ) ,
382
+ ( "cooked" , true ) ,
383
+ ( "crt" , false ) ,
384
+ ( "dec" , false ) ,
385
+ ( "decctlq" , true ) ,
386
+ ( "ek" , false ) ,
387
+ ( "evenp" , true ) ,
388
+ ( "litout" , true ) ,
389
+ ( "nl" , true ) ,
390
+ ( "oddp" , true ) ,
391
+ ( "parity" , true ) ,
392
+ ( "pass8" , true ) ,
393
+ ( "raw" , true ) ,
394
+ ( "sane" , false ) ,
395
+ ] ;
You can’t perform that action at this time.
0 commit comments