Added TODO about broken size limits computation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35598 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -818,6 +818,8 @@ TermWindow::_AddTab(Arguments *args)
|
|||||||
SetSizeLimits(MIN_COLS * width - 1, MAX_COLS * width - 1,
|
SetSizeLimits(MIN_COLS * width - 1, MAX_COLS * width - 1,
|
||||||
minimumHeight + MIN_ROWS * height - 1,
|
minimumHeight + MIN_ROWS * height - 1,
|
||||||
minimumHeight + MAX_ROWS * height - 1);
|
minimumHeight + MAX_ROWS * height - 1);
|
||||||
|
// TODO: The size limit computation is apparently broken, since
|
||||||
|
// the terminal can be resized smaller than MIN_ROWS/MIN_COLS!
|
||||||
|
|
||||||
// If it's the first time we're called, setup the window
|
// If it's the first time we're called, setup the window
|
||||||
if (fTabView->CountTabs() == 1) {
|
if (fTabView->CountTabs() == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user