https://bugs.kde.org/show_bug.cgi?id=436327

Kurt Hindenburg <kurt.hindenb...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/commit/0ecc36
                   |                            |6c02c43502f0d82dadc29274a78
                   |                            |90df521
         Resolution|---                         |FIXED

--- Comment #5 from Kurt Hindenburg <kurt.hindenb...@gmail.com> ---
Git commit 0ecc366c02c43502f0d82dadc29274a7890df521 by Kurt Hindenburg, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 05/05/2021 at 14:00.
Pushed by hindenburg into branch 'master'.

Fix crash on resize while doing other things

Commits 9ffe33a27a8720aba2f066fef0b0bdb3efcbea72 and
4352df00d9fd66f5333421f328a2c5618eda60b7 introduce and use a
getScreenLineColumns(line) method to provide support for DECDWL
(Double-Width) lines.

It turns out that under some conditions on resize Screen::_cuY (the
current cursor Y position) and ScreenWindow::endWindowLine() can have
different ideas of how many lines the terminal has.

A test that asserts:

 - while [ true ]; do echo -e "\e[?1047h";  done
 - Resize the window, making it smaller

M  +1    -3    src/Screen.cpp

https://invent.kde.org/utilities/konsole/commit/0ecc366c02c43502f0d82dadc29274a7890df521

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to