Skip to main content

code_filename

Function code_filename 

Source
pub fn code_filename(fb: &mut Framebuffer, name: &str)
Expand description

Draw the code editor’s current filename in the top-left of the tab bar, in peach to match the highlighted code tab. Truncated to stay clear of the tab icons; empty when no project file is open (a loaded cart), so nothing shows.