//! Render the code diff demo tab.
use Rect;
use Widget;
use crateApp;
/// Render the code diff demo.
///
/// The CodeDiff widget handles everything internally:
/// - File tree sidebar (toggle with `[`)
/// - Diff view
/// - Focus switching (h/l or Tab)
/// - Navigation (j/k)
/// - Resize (H/L or </>)
///
/// # Arguments
///
/// * `frame` - The frame to render into.
/// * `area` - The area to render in.
/// * `app` - The application state.