Implement methods to change padding
This commit is contained in:
committed by
Chih-Hsuan Yen
parent
e331bd4c67
commit
8eba2e2d3b
@@ -764,3 +764,13 @@ void QTermWidget::cursorChanged(Konsole::Emulation::KeyboardCursorShape cursorSh
|
||||
setKeyboardCursorShape(cursorShape);
|
||||
setBlinkingCursor(blinkingCursorEnabled);
|
||||
}
|
||||
|
||||
void QTermWidget::setMargin(int margin)
|
||||
{
|
||||
m_impl->m_terminalDisplay->setMargin(margin);
|
||||
}
|
||||
|
||||
int QTermWidget::getMargin() const
|
||||
{
|
||||
return m_impl->m_terminalDisplay->margin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user