mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Terminal: Unbreak single-line text selection.
This commit is contained in:
parent
f6498bb0e9
commit
daf44d5ec5
1 changed files with 1 additions and 1 deletions
|
@ -1210,7 +1210,7 @@ BufferPosition Terminal::buffer_position_at(const Point& position) const
|
|||
int column = adjusted_position.x() / font().glyph_width('x');
|
||||
if (row < 0)
|
||||
row = 0;
|
||||
if (column < m_columns)
|
||||
if (column < 0)
|
||||
column = 0;
|
||||
if (row >= m_rows)
|
||||
row = m_rows - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue