Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
executor fix
  • Loading branch information
alabuzhev committed Feb 2, 2016
1 parent 5d72233 commit a72119b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 02.02.2016 21:17:56 +0200 - build 4533
drkns 02.02.2016 21:34:08 +0200 - build 4534

1. Уточнение 4525 для нетривиальных условий запуска.

drkns 02.02.2016 21:17:56 +0200 - build 4533

1. Адаптация граббера к 4526.

Expand Down
9 changes: 9 additions & 0 deletions far/cmdline.cpp
Expand Up @@ -891,7 +891,16 @@ class execution_context: noncopyable
m_Consolised = true;

Global->ScrBuf->MoveCursor(0, WhereY());

// BUGBUG, implement better & safer way to do this
const auto LockCount = Global->ScrBuf->GetLockCount();
Global->ScrBuf->SetLockCount(0);

Global->ScrBuf->Flush();

// BUGBUG, implement better & safer way to do this
Global->ScrBuf->SetLockCount(LockCount);

Console().SetTextAttributes(colors::PaletteColorToFarColor(COL_COMMANDLINEUSERSCREEN));
}

Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4533)m4_dnl
m4_define(BUILD,4534)m4_dnl

0 comments on commit a72119b

Please sign in to comment.