You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-20 23:30:05 +02:00
Show overlay window while editing note
This commit is contained in:
@@ -74,8 +74,9 @@ class Command extends BaseCommand {
|
||||
|
||||
this.logger().info('Disabling fullscreen...');
|
||||
|
||||
this.stdout(_('Starting to edit note. Close the editor to get back to the prompt.'));
|
||||
//this.stdout(_('Starting to edit note. Close the editor to get back to the prompt.'));
|
||||
|
||||
app().gui().showModalOverlay(_('Starting to edit note. Close the editor to get back to the prompt.'));
|
||||
app().gui().forceRender();
|
||||
const termState = app().gui().term().saveState();
|
||||
|
||||
@@ -83,6 +84,7 @@ class Command extends BaseCommand {
|
||||
spawnSync(editorPath, editorArgs, { stdio: 'inherit' });
|
||||
|
||||
app().gui().term().restoreState(termState);
|
||||
app().gui().hideModalOverlay();
|
||||
app().gui().forceRender();
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user