ref:8b9d5a756f1d91cbe1df0cea8f47b3a9e4d75ec9

Remove terminal screen margin — fills entire block face

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA: 8b9d5a756f1d91cbe1df0cea8f47b3a9e4d75ec9
Author: Cole Christensen <cole.christensen@macmillan.com>
Date: 2026-03-20 17:05
Parents: e55101d
1 files changed +2 -4
Type
common/src/main/java/io/fangorn/alacrittymc/client/renderer/TerminalBlockRenderer.java +2 −4
@@ -52,12 +52,10 @@
Matrix4f mat = poseStack.last().pose();
int light = LightTexture.FULL_BRIGHT;
// Margins: full margin for standalone blocks, no margin for multi-block
// (so adjacent blocks form a seamless screen)
// No margin — terminal fills the entire block face
ScreenGroup group = entity.getScreenGroup();
boolean inGroup = group != null && group.getMembers().size() > 1;
float m = inGroup ? 0f : 1f / 16f;
float x0 = m, x1 = 1f - m, y0 = m, y1 = 1f - m;
float x0 = 0f, x1 = 1f, y0 = 0f, y1 = 1f;
float z = 0.001f;
if (dataSource.isTerminalRunning() && dataSource.getPixelWidth() > 0 && dataSource.getPixelHeight() > 0) {