Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
More user-friendly info about OSC52 at 1st run
  • Loading branch information
akruphi committed Dec 2, 2024
1 parent 2c03f3a commit 47bad0e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions far2l/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,13 @@ static int MainProcess(FARString strEditViewArg, FARString strDestName1, FARStri

DWORD tweaks = WINPORT(SetConsoleTweaks)(TWEAKS_ONLY_QUERY_SUPPORTED);
if (tweaks & TWEAK_STATUS_SUPPORT_OSC52CLIP_SET) {
if (Message(0, 2,
Msg::ConfigOSC52ClipSet,
SetMessageHelp(L"Far2lGettingStarted");
if (Message(0, 2, // at 1st start always only English and we not need use Msg here
L"Use OSC52 to set clipboard data (question at first start)",
L"You can toggle use of OSC52 on/off at any time",
L"in Menu(F9)->\'Options\"->\"Interface settings\"",
L"",
L"Use OSC52 to set clipboard data",
Msg::Yes,
Msg::No))
{
Expand Down

0 comments on commit 47bad0e

Please sign in to comment.