diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-02-02 07:56:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-06 14:37:39 +0000 |
commit | bc9d077a8d171765b11f3b2fc52ba483bc1a31f6 (patch) | |
tree | 2fa874a048fef2340a651695cecf8161e6fbe72d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fd5b40251a02f7652adba88bc09802fcff004a7f (diff) |
tty: vt: handle CSI+[ inside preexisting switch-case
In do_con_trol()'s ESsquare case, there is already a switch (c). It is
preceded by an 'if (c == '[')'. Despite this 'if' handles a state
transition and not a modifier, move it as one of the switch cases. This
makes all the 'c' decision making more obvious there.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20240202065608.14019-18-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions