Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
updated lexilla
export TERM env variable for built-in terminals
clang-format config file updated

Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Dec 8, 2024
1 parent 162a4d6 commit 9083e12
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
#AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
BinPackParameters: true
BreakBeforeBraces: Linux
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
Expand Down Expand Up @@ -52,3 +51,7 @@ SortIncludes: true
IncludeBlocks: Regroup
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: false
AlignEscapedNewlines: LeftWithLastLine
AlignOperands: true
BinPackParameters: false
BinPackArguments: false
2 changes: 2 additions & 0 deletions Plugin/wxTerminalCtrl/wxTerminalCtrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ void wxTerminalCtrl::StartShell()
env.push_back({ "WD", wxFileName(shell_exec).GetPath() });
#endif

// required to get colours
env.push_back({ "TERM", "xterm-256color" });
LOG_DEBUG(TERM_LOG()) << "Starting shell process:" << shell_exec << endl;
if (m_shellCommand == "bash") {
m_shell = ::CreateAsyncProcess(this, shell_exec + " --login -i", IProcessRawOutput, wxEmptyString, &env);
Expand Down
2 changes: 1 addition & 1 deletion submodules/lexilla
2 changes: 1 addition & 1 deletion submodules/wxdap

0 comments on commit 9083e12

Please sign in to comment.