Build 160228

  • Fix crash when mouse wheel was scrolled over search edit box.
  • Warning fixes (from Michael Lukashov).
  • Intelligent selection mode was not working in Far userscreen (Panels turned off).
  • conemu#560: Fix true-color scrolling issues in Far 3.0.4525.
  • Alt+Numbers mode improvements.
    • Hotkey (unassigned): Start Alt+Number mode to enter unicode symbol by its hex codebase.
    • Allow mode start by GuiMacro: AltNumber([Base]).
      • Base==0: Start Alt+Numbers in ANSI decimal mode (‘ANSI’ actually means UNICODE code points 32..255)
      • Base==10: Start Alt+Numbers in OEM decimal mode
      • Base==16: Start Alt+Numbers in hexadecimal mode
    • Alt+Numbers: If mode was started by Alt+Key (user-defined), do paste on Alt release.
    • Alt+Numbers: Show collected codebase and hints about mode in the StatusBar.
  • KeyEvents v4.3: Unicode characters were not printed correctly.

Build 160222

  • conemu#555: Aliases support was broken (771ab79 regression).
  • Maximus5/conemu-inside#13: ConEmu-Inside position was not updated in some cases.
  • Understandable error message if bad -loadcfgfile was specified.
  • Don’t erase default MSZ setting value, if one not found in xml.
  • Let -new_console:c1 consoles stay open silently even on Esc/Enter.

    When all processes in console are finished:

    • ConEmu does not close the console automatically;
    • Confirmation message is not written to console;
    • All keypresses are ignored.

    So, user may either close console via ConEmu interface (kill hotkeys or close menu items), or parent process (when ConEmu is working in the ‘Inside’ mode) may close the console via GuiMacro Close(0,1).

Build 160219

  • Task may be executed in the running console with ConEmuC -c {TaskName}.

    Actually, first command of the named task is executed, and rest of command line is appended as arguments. For example, you may start Far editor in the current console by executing in the prompt:

    ConEmuC -c {Far} /e text.txt
    
  • Support tasks nesting.

    Simple nesting is allowed, so one may create their own task, which starts {cmd}, {powershell} and {VS 14.0 x86 tools prompt}, even in splits or with extra arguments. For example:

    {cmd} & echo Extra args
    {powershell} -new_console:sV
    
  • New predefined environment variables: ConEmuTask and ConEmuPalette.
  • TaskBar JumpList icons fix.
  • Far Macro: ConEmu.Editor.lua was broken (Far3 latest builds).
  • Far Tabs were not updated in ConEmu after plugin call Plugin.SyncCall(ConEmu,100).

Build 160218

  • GuiMacro. New function Write("Text") writes “Text” to console output (dangerous).

    Use it at you own risk! Calling this function may cause unexpected behavior of running console application! That is because function changes console contents and cursor position directly, bypassing detouring standard ConIn/ConOut processing queue.

    In most cases safe functions Paste, Print and Keys are preferable!

    However, with Write you may implement some interesting features, like printing sort of ‘hints’ in shell prompt:

    Write “\e7\e[90mEcho "Hello world!"\e[m\e8”

    Ref: Maximus5/conemu-inside#3

  • conemu#550, conemu#372, conemu#234: Unassigned by default hotkey ‘Reset terminal’ (dangerous).

    I’m still sure that this operation is harmful and dangerous: https://conemu.github.io/en/ClearScreen.html. But since GuiMacro Write exists, anyone may create a macro for Write("\ec"), which the hotkey actualy executes.

    TabMenu item ‘Edit -> Reset terminal’ is available too.

    BTW, with Write macro anyone may push to console several colored lines, using ANSI sequences, to ‘mark’ some point in real-time logs (tail -f).

    Write “\n\n\e[91m========== ‘\e]9;8;"time"\e\’ ==========\e[m\n\n”

  • Bring here: Just move window to the upper-left corner of active monitor.
  • ANSI: Let ESC ] 9 ; 8 ; "*env*" ST supports date and time.

Build 160217

  • conemu#541: Chinese translation (from @ulin).
  • Maximus5/conemu-inside#4: Don’t warn ConEmu's parent window was terminated abnormally if we have no VCon.
  • Maximus5/conemu-inside#4: Don’t show ‘Can’t create new virtual console’ error if parent was killed during initialization.
  • Maximus5/conemu-inside#12: Query GuiMacro result via callback function. ConEmuCD.dll and ConEmuCD64.dll now export GuiMacro function. https://github.com/Maximus5/ConEmu/commit/ffd3774eb037fb73828ff969464ef57a97dda1a4
  • Don’t install hooks in ConEmuC.exe.
  • ConEmuC internal -echo able to expand environment variables by -x subswitch. Example: ConEmuC -echo -x “Version: %ConEmuBuild%”
  • Maximus5/conemu-inside#3: Write user-defined text to console on startup.

    Commands echo and type are processed internally by ConEmuC now. For example, it’s possible to add into the Settings/Environment.

    echo -x “Welcome to ConEmu %ConEmuBuild% terminal^nPress Win-Alt-P to show Settings dialog”

    Alternatively, you may add echo or type before the command itself, when you create new console, or in the Task definition. Example.

    type -utf8 “%ConEmuDir%\Hello.txt” & cmd /k “%ConEmuBaseDir%\CmdInit.cmd”

  • Implement -Args to show how ConEmu’s command line parser works. Example: ConEmuC -args “Test1 & ^ “” Test2” “Test “” 3”

  • Two double-quotes are replaced with one double-quotes in NextArg.

    So, the command:

    ConEmuC -args “Test1 & ^ “” Test2” “Test “” 3”

    must produce following output:

    1: Test1 & ^ " Test2 2: Test " 3

  • Changes in ConEmuC -echo feature.

    • Arguments are processed one-by-one, strings with special characters must be framed with double-quotes, two sequential double-quotes are replaces with one double quotes, multiple spaces between arguments are treated as single space.

    • If -r subswitch is not specified, than following replacements are done.

      • ^^ -> ^
      • ^n or ^N -> (char)10 {\n : LF}
      • ^r or ^R -> (char)13 {\r : CR}
      • ^t or ^T -> (char)9 {\t : TAB}
      • ^a or ^A -> (char)7 {BELL}
      • ^b or ^B -> (char)8 {\b : BACK}
      • ^e or ^E or ^[ -> (char)27 {ESC}
    • If -x subswitch is specified, than %EnvVars% are expanded.

$ ConEmuC -echo "A1 "" A2"   "A3" A4"
A1 " A2 A3 A4

$ ConEmuC -echo "Line1^nLine2"
Line1
Line2

$ ConEmuC -echo -r "Line1^nLine2"
Line1^nLine2
  • Settings/Environment has priority over console command line.

    Commands echo, type, set and others, defined in on the ‘Environment’ settings page, are executed before commands, defined in the Task or console command line.

    So, if ‘Environment’ has following line

    echo -x “Welcome to the ConEmu %ConEmuBuild% terminal”

    And {cmd} Task is defined like following

    echo “Initializing {cmd} Task…” & cmd /k “%ConEmuBaseDir%\CmdInit.cmd”

    Than you’ll see in the terminal

    Welcome to the ConEmu 160217 terminal Initializing {cmd} Task…

  • Log system date on -log start and date change.
  • Show (StatusBar) and log PID of started console server.
  • GuiMacro: WindowMode("HERE") moves ConEmu to monitor with mouse cursor.
  • Add hotkey for ‘Move ConEmu window to the monitor with mouse cursor (Bring here)’.
  • conemu#240: Create a workaround for ‘Maximum real console size was reached’.

    Looks like MS-Bug in conhost leads to abnormally large font set in real console, if tab was started As Admin in Windows 10 and Win-L pressed.

C:\ConEmu\ConEmu64.exe -basic -max -size 12 -visible -log -cmd {cmd (Admin)}
rundll32 user32.dll,LockWorkStation

Build 160211

  • Initial steps for localization. More information in docs.
  • conemu#539, conemu#535: Option ‘Default task for new console’ was ignored (d93b5d9 regression).
  • conemu#540: In some cases ‘Enhance preudographics’ was skipped.
  • Avoid spare RealConsole resize on HideCaption changes.
  • Fix broken Far’s Editor/Viewer close from TabMenu (7631ffd regression).

Build 160207

  • Alt+HexNumbers: Dump collected codebase to console on ‘invalid’ input or GrayPlus.
  • conemu#534: Fix wrong background drawing in Far (TrueColor).
  • conemu#532: ‘Apply’ button failed to return ‘Normal’ mode in ‘Quake’ style.
  • conemu#78: Rename to (modifier for ‘Highlight and goto’ and some others). Purpose of this option - process when no modifier (Ctrl, Alt, Shift, ...) is pressed.
  • conemu#489: Fix TaskBar jump-list problems.
    • Default Tasks for SDK::VS * were not created by ConEmu64.exe.
    • Wrong icon was set for tasks SDK::VS * in jump-list.
  • Default extension (xml for example) was not appended if user fails to print it in the ‘Export settings’ dialog.
  • Warning fixes (from Michael Lukashov).

Build 160204

  • Support Alt-+-HexNumber input internally, including surrogate pair generation. ConEmu is able to convert entered codepoints to surrogate pairs, so you may enter uncommon symbols outside from BMP. Examples below.
    • Double-struck ‘𝔸’: press Alt-+-1D538.
    • Sushi emoticon ‘🍣’: press Alt-+-1F363
    • More information
  • Screen was not updated if shell (cmd for example) was activated back from closed Far Manager, if close has been done by cross-click and ‘Safe Far Close’ macro.
  • conemu#524: Deal with entangled window list returned by Far API.

Build 150813g

  • Don’t try to inject hooks into ConEmuC processes.
  • Allow AutoUpdates to ‘Stable’ builds.
  • Renew portable and xml notes.
  • conemu#491: Example Far Macro ConEmu.CtrlShiftT.lua had wrong hotkey.
  • Prevent double execution of script specified in “AutoRun” cmd’s registry key. For example, when “cmd /k CmdInit.cmd” was started (default for {cmd} task) triggering ver command caused execution of test.cmd again.
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"AutoRun"="test.cmd"
  • conemu#470: Double click word selection was broken.
  • conemu#517: In Quake mode Maximized/Fullscreen was dropped after ConEmu restart.
  • conemu#297: Fix keyboard delay (Windows 7).
  • conemu#486: Use https for github links.
  • conemu#524: Deal with entangled window list returned by Far API.

Build 160202

  • New TabMenu items hints (shown in StatusBar when hovering menu with mouse).
  • Show confirmation if Shift is pressed when selecting menu items:
    • Kill active process
    • Kill all bat shell
  • conemu#241: Close consoles refactoring (close Far tabs with single click). If Far Manager was started from other shell (from cmd.exe, for example) than using ‘Safe Far Close’ macro leads to return to the shell prompt, instead of termination of this console. Also, unchecked option ‘Safe Far Close’ was ignored for far.exe. In progress actually. We have to simplify close/terminate calls.
  • Warn user if automatic action was called without initialized settings. The example of command: ConEmu.exe -SetDefTerm -Detached -MinTSA -Exit. If there is no settings file, user will see FastConfiguration dialog, which is unexpected for automatic action (-SetDefTerm and -Exit). If one needs to run ConEmu without settings, they may use -basic switch.
  • Double-width glyph in the col 1 was cropped in Far editor/viewer. For example, if the following text 中英文Block mode复制初步修复。 was started from the leftmost console cell, than glyph was cropped to one cell.
  • GitShowBranch.cmd: Support git branches with dots in branch name.
  • conemu#515: Internal changes of OnShutdownConsole.
  • Add default task {Tools::Docker}. Docker is detected by environment variable %DOCKER_TOOLBOX_INSTALL_PATH%. Also, bash.exe (Git, Cygwin or MSys) have to be installed to run start.sh.
  • Add default task for NYAGOS (if found in %PATH%).
  • conemu#517: In Quake mode Maximized/Fullscreen was dropped after ConEmu restart.
  • conemu-inside#1: Mouse text selection does not work in the Inside mode.
  • conemu-inside#4: Avoid crashes when parent process is terminated during startup.
  • conemu-inside#4: Correct warning messages and don’t show them if parent was terminated during startup.
  • Allow to start new tab in current detached instance in one-console mode. If option ‘Multiple consoles in one ConEmu window’ is disabled, than new console is started in new ConEmu window, but this is impractical if there is no consoles in current instance. For example: “ConEmu -detached” or existing console was closed.
  • Protect from possible ‘locks’ during startup.
  • StatusBar column ‘Create new console’ was not updated in some cases.
Download    Donate