Function get_console_title
pub fn get_console_title(api: &dyn WindowsApi) -> StringExpand description
Returns the title of the current console window using the provided API.
§Arguments
api- The Windows API implementation to use.
§Returns
The title of the current console window.
§Examples
use csshw_lib::utils::windows::{get_console_title, DefaultWindowsApi};
let title = get_console_title(&DefaultWindowsApi);
println!("Console title: {}", title);