Double "resolution" in the CLI
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ void main() async {
|
||||
final input = CliInput();
|
||||
final cliAudio = CliSilentAudio();
|
||||
|
||||
final rasterizer = AsciiRasterizer();
|
||||
final rasterizer = AsciiRasterizer(isTerminal: true);
|
||||
|
||||
FrameBuffer buffer = FrameBuffer(
|
||||
stdout.terminalColumns,
|
||||
@@ -69,7 +69,6 @@ void main() async {
|
||||
|
||||
if (bytes.contains(9)) {
|
||||
rasterizer.activeTheme = AsciiThemes.nextOf(rasterizer.activeTheme);
|
||||
print("Switched to ${rasterizer.activeTheme.name} theme!");
|
||||
}
|
||||
|
||||
input.handleKey(bytes);
|
||||
|
||||
Reference in New Issue
Block a user