File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,15 @@ type Key
111
111
| Multiply
112
112
| Plus
113
113
| Minus
114
+ | Underscore
114
115
| ForwardSlash
116
+ | BackSlash
117
+ | Pipe
115
118
| QuestionMark
119
+ | LeftSquareBracket
120
+ | RightSquareBracket
121
+ | LeftCurlyBracket
122
+ | RightCurlyBracket
116
123
| Raw String
117
124
118
125
@@ -506,9 +513,30 @@ fromString str =
506
513
" -" ->
507
514
Minus
508
515
516
+ " _" ->
517
+ Underscore
518
+
509
519
" /" ->
510
520
ForwardSlash
511
521
522
+ " \\ " ->
523
+ BackSlash
524
+
525
+ " |" ->
526
+ Pipe
527
+
528
+ " [" ->
529
+ LeftSquareBracket
530
+
531
+ " ]" ->
532
+ RightSquareBracket
533
+
534
+ " {" ->
535
+ LeftCurlyBracket
536
+
537
+ " }" ->
538
+ RightCurlyBracket
539
+
512
540
" ?" ->
513
541
QuestionMark
514
542
@@ -756,9 +784,30 @@ view os key =
756
784
Minus ->
757
785
" -"
758
786
787
+ Underscore ->
788
+ " _"
789
+
759
790
ForwardSlash ->
760
791
" /"
761
792
793
+ BackSlash ->
794
+ " \\ "
795
+
796
+ Pipe ->
797
+ " |"
798
+
799
+ LeftSquareBracket ->
800
+ " ["
801
+
802
+ RightSquareBracket ->
803
+ " ]"
804
+
805
+ LeftCurlyBracket ->
806
+ " {"
807
+
808
+ RightCurlyBracket ->
809
+ " }"
810
+
762
811
QuestionMark ->
763
812
" ?"
764
813
You can’t perform that action at this time.
0 commit comments