This commit refactors the UI by adding sidebar and content functions
to handle the layout. The current_keyspace field is removed from the
App struct. The Default trait implementation for App is simplified.
The handle_key_event function now has a clippy allow attribute for
single_match. The Widget trait implementation for App is updated to
use the new sidebar and content functions.
This commit refactors the UI by adding sidebar and content functions to handle the layout. The current_keyspace field is removed from the App struct. The Default trait implementation for App is simplified. The handle_key_event function now has a clippy allow attribute for single_match. The Widget trait implementation for App is updated to use the new sidebar and content functions.
Signed-off-by: Daniel Boll danielboll.academico@gmail.com