mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Feature: Add multi-line input. (#630)
This commit is contained in:
@@ -35,6 +35,9 @@ class Text : public Node {
|
||||
if (x > box_.x_max) {
|
||||
return;
|
||||
}
|
||||
if (cell == "\n") {
|
||||
continue;
|
||||
}
|
||||
screen.PixelAt(x, y).character = cell;
|
||||
++x;
|
||||
}
|
||||
|
Reference in New Issue
Block a user