Commit: bbfeef3a04b0ad4de5802790b6bcb2e4d9fb9e5e
Parent: f8d0dc114036806c25856ec1f0161d3e5ef5e2a1
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-05-01 17:17:43
Tree: caae63b43cd1277d3c314141d4308044337f63db

shell: Clarify "mode" variable It's unclear what that variable did, and which value corresponded to which state, so replace it with a typed enum so that conditionals are more easily parsed.

Diffstat

M src/shared/shell.c | 34 ++++++++++++++++++++- - - - - - - - - - - - - -

1 files changed, 20 insertions(+), 14 deletions(-)

View Full Diff | Patch