Skip to content

Commit

Permalink
gh-866: Strange characters in console after cd
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Aug 19, 2024
1 parent 56286af commit 6bd4916
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions far/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
--------------------------------------------------------------------------------
drkns 2024-08-19 17:15:46+01:00 - build 6361

1. gh-866: Strange characters in console after cd.

--------------------------------------------------------------------------------
drkns 2024-08-17 11:35:12+01:00 - build 6360

Expand Down
6 changes: 4 additions & 2 deletions far/taskbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ class taskbar_impl : public singleton<taskbar_impl>

m_State = State;

console.set_progress_state(m_State);

m_StateEvent.set();
}

Expand All @@ -80,6 +82,8 @@ class taskbar_impl : public singleton<taskbar_impl>
m_Completed = Completed;
m_Total = Total;

console.set_progress_value(m_State, ToPercent(m_Completed, m_Total));

m_ValueEvent.set();
}

Expand Down Expand Up @@ -131,12 +135,10 @@ class taskbar_impl : public singleton<taskbar_impl>

case 1:
TaskbarList->SetProgressState(console.GetWindow(), m_State);
console.set_progress_state(m_State);
break;

case 2:
TaskbarList->SetProgressValue(console.GetWindow(), m_Completed, m_Total);
console.set_progress_value(m_State, ToPercent(m_Completed, m_Total));
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6360
6361

0 comments on commit 6bd4916

Please sign in to comment.