mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Terminal: Remove crashy assertion about line length
If we resize/maximize the window, we might end up with some lines in history that had a different length than the current terminal width. That's okay, so let's not crash because of it. Fixes #620.
This commit is contained in:
parent
35138437ef
commit
da463d9b11
1 changed files with 0 additions and 1 deletions
|
@ -240,7 +240,6 @@ void TerminalWidget::paint_event(GPaintEvent& event)
|
|||
// the character itself in the center of the columns
|
||||
// its bytes take up as far as the terminal is concerned.
|
||||
|
||||
ASSERT(line.text().length() == m_terminal.columns());
|
||||
Utf8View utf8_view { line.text() };
|
||||
|
||||
for (auto it = utf8_view.begin(); it != utf8_view.end(); ++it) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue