Diagnostics
- Consolidated two debug lines into one, so that ViewTask::render now reports available width, and Context::getWidth does not.
This commit is contained in:
@@ -57,8 +57,6 @@ int Context::getWidth ()
|
||||
{
|
||||
terminal_height = buff[0];
|
||||
terminal_width = buff[1];
|
||||
|
||||
debug (format (STRING_INTERACTIVE_WIDTH, terminal_width));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,8 +92,6 @@ int Context::getHeight ()
|
||||
{
|
||||
terminal_height = buff[0];
|
||||
terminal_width = buff[1];
|
||||
|
||||
debug (format (STRING_INTERACTIVE_HEIGHT, terminal_height));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user