Skip to content

Commit f635d3f

Browse files
committed
Just sneaking in some awesomeness, variable width spaces support. This means you can have as many spaces as you want between words and the commands still work
1 parent a01baf3 commit f635d3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ impl Commands {
100100
fn add_space(state_machine: &mut StateMachine, mut state: usize, i: usize) -> usize {
101101
if i > 0 {
102102
state = state_machine.add(state, CharacterSet::from_char(' '));
103+
state_machine.add_next_state(state, state);
103104
}
104105
state
105106
}

0 commit comments

Comments
 (0)