<commit_before>package com.valkryst.VTerminal.samples;

import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.builder.PanelBuilder;
import com.valkryst.VTerminal.font.Font;
import com.valkryst.VTerminal.font.FontLoader;
import com.valkryst.VTerminal.printer.RectanglePrinter;
import com.valkryst.VTerminal.printer.RectangleType;

import java.io.IOException;
import java.net.URISyntaxException;

public class SampleRectanglePrinter {
    public static void main(final String[] args) throws IOException, URISyntaxException, InterruptedException {
        System.setProperty("sun.java2d.opengl", "true");
        final Font font = FontLoader.loadFontFromJar("Fonts/DejaVu Sans Mono/18pt/bitmap.png", "Fonts/DejaVu Sans Mono/18pt/data.fnt", 1);
        final Panel panel = new PanelBuilder().setFont(font).build();

        Thread.sleep(100);

        final RectanglePrinter printer = new RectanglePrinter();
        printer.setRectangleType(RectangleType.HEAVY);
        printer.setWidth(10);
        printer.setHeight(10);

        printer.print(panel, 0, 0);
        printer.print(panel, 0, 1);
        printer.print(panel, 1, 0);
        printer.print(panel, 1, 1);
        printer.print(panel, 3, 10);


        panel.draw();
    }
}<commit_msg>Adds test for the new title param of rectangle printer.<commit_after>package com.valkryst.VTerminal.samples;

import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.builder.PanelBuilder;
import com.valkryst.VTerminal.font.Font;
import com.valkryst.VTerminal.font.FontLoader;
import com.valkryst.VTerminal.printer.RectanglePrinter;
import com.valkryst.VTerminal.printer.RectangleType;

import java.io.IOException;
import java.net.URISyntaxException;

public class SampleRectanglePrinter {
    public static void main(final String[] args) throws IOException, URISyntaxException, InterruptedException {
        System.setProperty("sun.java2d.opengl", "true");
        final Font font = FontLoader.loadFontFromJar("Fonts/DejaVu Sans Mono/18pt/bitmap.png", "Fonts/DejaVu Sans Mono/18pt/data.fnt", 1);
        final Panel panel = new PanelBuilder().setFont(font).build();

        Thread.sleep(100);

        final RectanglePrinter printer = new RectanglePrinter();
        printer.setRectangleType(RectangleType.HEAVY);
        printer.setWidth(10);
        printer.setHeight(10);

        printer.print(panel, 0, 0);
        printer.print(panel, 0, 1);
        printer.print(panel, 1, 0);
        printer.print(panel, 1, 1);
        printer.print(panel, 3, 10);

        printer.setWidth(20);
        printer.setTitle("Test Title");
        printer.print(panel, 20, 10);


        panel.draw();
    }
}
{'fraction_non_alphanumeric': 0.1165230423379543, 'fraction_numerical': 0.020232296740352193, 'mean_word_length': 3.6924428822495607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7249114', 'n_tokens_mistral': 914, 'n_tokens_neox': 861, 'n_words': 161}