mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed console scrolling
This commit is contained in:
parent
b0b85b7b43
commit
2250411276
3 changed files with 38 additions and 11 deletions
|
@ -99,6 +99,12 @@ class Program
|
|||
int32 row = GET!<int32>(ptr);
|
||||
int32 dy = GET!<int32>(ptr);
|
||||
mProvider.MouseWheel(col, row, dy);
|
||||
case .ScrollTo:
|
||||
int32 row = GET!<int32>(ptr);
|
||||
mProvider.ScrollTo(row);
|
||||
case .Update:
|
||||
bool paused = GET!<bool>(ptr);
|
||||
mProvider.Update(paused);
|
||||
default:
|
||||
}
|
||||
case .Err(let err):
|
||||
|
@ -126,8 +132,6 @@ class Program
|
|||
|
||||
while (true)
|
||||
{
|
||||
mProvider.Update();
|
||||
|
||||
var process = Platform.BfpProcess_GetById(null, mPid, null);
|
||||
if (process == null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue