diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-29 22:38:01 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-29 22:38:01 +0000 |
| commit | 3026b8981a511a2d913f930e0bb3e24682289a91 (patch) | |
| tree | 5496ca92d8169aefb312e67025e8d95621c3c356 | |
| parent | term: reset: don't access rows directly (diff) | |
vt: there are actually many state transitions that are no-ops
In most states, most 8-bit values are no-ops. This is already handled;
action() recognizes ACTION_NONE as a no-op. Thus, all we need to do is
remove the assertion.
| -rw-r--r-- | vt.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1033,7 +1033,6 @@ vt_from_slave(struct terminal *term, const uint8_t *data, size_t len) } const struct state_transition *transition = &states[current_state][data[i]]; - assert(transition->action != ACTION_NONE || transition->state != STATE_SAME); if (transition->state != STATE_SAME) { enum action exit_action = exit_actions[current_state]; |
