Revert to 4:3 resolution
This commit is contained in:
parent
a1c3ea5fce
commit
79e5e94cc2
@ -5,8 +5,8 @@ import 'package:dartterm/terminal_painter.dart';
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class Terminal {
|
class Terminal {
|
||||||
static const int width = 60;
|
static const int width = 80;
|
||||||
static const int height = 32;
|
static const int height = 50;
|
||||||
static const int cellW = 64;
|
static const int cellW = 64;
|
||||||
static const int cellH = 64;
|
static const int cellH = 64;
|
||||||
static const int nTiles = width * height;
|
static const int nTiles = width * height;
|
||||||
|
@ -18,7 +18,7 @@ class TerminalCustomPainter extends CustomPainter {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
void paint(Canvas canvas, Size size) {
|
void paint(Canvas canvas, Size size) {
|
||||||
final paint = Paint()..filterQuality = FilterQuality.none;
|
final paint = Paint()..filterQuality = FilterQuality.high;
|
||||||
|
|
||||||
// == Fill backdrop ==
|
// == Fill backdrop ==
|
||||||
final paint2 = Paint()
|
final paint2 = Paint()
|
||||||
|
Loading…
Reference in New Issue
Block a user