mirror of
https://github.com/godotengine/godot.git
synced 2025-01-26 20:42:55 -05:00
Merge pull request #89803 from timothyqiu/xfce4-terminal
Add necessary flags when opening directory with xfce4-terminal
This commit is contained in:
commit
3c4c79c65a
1 changed files with 2 additions and 0 deletions
|
@ -2250,6 +2250,8 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
|
|||
terminal_emulator_args.push_back("--working-directory");
|
||||
} else if (chosen_terminal_emulator.ends_with("urxvt")) {
|
||||
terminal_emulator_args.push_back("-cd");
|
||||
} else if (chosen_terminal_emulator.ends_with("xfce4-terminal")) {
|
||||
terminal_emulator_args.push_back("--working-directory");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue