zng::app

Static SAVE_CMD

source
pub static SAVE_CMD: Command
Expand description

Represents the save action.

Usually this saves to the already defined item path (open or previous save path), otherwise the user is prompted like SAVE_AS_CMD.

ยงMetadata

This command has the following default metadata:

metadatavalue
name "Save"
shortcut [shortcut!(CTRL+'S'), shortcut!(Save)]
icon wgt_fn!(|_| ICONS.get("save"))

Text metadata is localized.