mirror of
https://github.com/emu-russia/pureikyubu.git
synced 2025-04-02 10:42:15 -04:00
21 lines
524 B
C#
21 lines
524 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ManagedConsoleDemo
|
|
{
|
|
class TestConsole : ManagedConsole.Console
|
|
{
|
|
public override void OnKeyInput(KeyInfo key)
|
|
{
|
|
PrintAt(ManagedConsole.ColorCode.NORM, 10, 10, " ");
|
|
PrintAt(ManagedConsole.ColorCode.NORM, 10, 10, key.KeyCode.ToString());
|
|
Invalidate();
|
|
|
|
base.OnKeyInput(key);
|
|
}
|
|
}
|
|
|
|
}
|