I am writing a tool that enables a user to traverse a tree-structured data set, which describes a set of roads, each road can have
The idle, starting prompt looks like this:
The user can then traverse to other roads using the DRIVE command
Jeep@CurrentlyDriving> DRIVE Road1
The user has the ability to change lanes using the LANE command.
Should the user use the LANE command (but only if he does so), I want to CLI to reflect that change, i.e, show that a lane has been changed since entering a certain road. i.e,
Jeep@CurrentlyDriving\Road1> LANE 1
What would be the best way to reflect the lane change (should be reflected where the ???`s are) without significantly 'damaging' the CLI structure?