core: add binding to write screen to file

This commit is contained in:
Mitchell Hashimoto
2024-07-19 20:24:51 -07:00
parent 55657465a7
commit a62b76eda3
2 changed files with 21 additions and 2 deletions

View File

@@ -211,6 +211,10 @@ pub const Action = union(enum) {
///
write_scrollback_file: WriteScreenAction,
/// Same as write_scrollback_file but writes the full screen contents.
/// See write_scrollback_file for available values.
write_screen_file: WriteScreenAction,
/// Same as write_scrollback_file but writes the selected text.
/// If there is no selected text this does nothing (it doesn't
/// even create an empty file). See write_scrollback_file for