Skip to content

Commit

Permalink
Merge pull request elfmz#2558 from akruphi/osc52_welcome_explain
Browse files Browse the repository at this point in the history
More details about OSC52 at 1st run
  • Loading branch information
elfmz authored Dec 12, 2024
2 parents 303958d + bbfd23a commit 9275551
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions far2l/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,18 @@ static int MainProcess(FARString strEditViewArg, FARString strDestName1, FARStri
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"",
L"OSC52 allows copying from far2l running",
L"in TTY mode (even via SSH connection) to your local system clipboard",
L"(if you are using far2l on a remote untrusted system, giving remote",
L"system write access to your clipboard may be potentially unsafe).",
L"",
L"Some terminals also need OSC52 to be enabled in terminal's settings.",
L"",
L"You can toggle use of OSC52 on/off at any time",
L"in Menu(F9)->\'Options\"->\"Interface settings\"",
L"in Menu(F9)->\'Options\"->\"Interface settings\".",
L"",
L"Use OSC52 to set clipboard data",
L"Allow far2l to set clipboard data using OSC52?",
Msg::Yes,
Msg::No))
{
Expand Down

0 comments on commit 9275551

Please sign in to comment.