mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-15 23:42:52 +03:00
Terminal status bar now is a Tab Widget and can create any number of terminals.
Fix a bug when initializing the LSP that provoked to not correctly send the initial commands. Added `expand-text` to UIPushButton. Added `setAcceptsDropOfWidgetFn` to externally control which widgets are accepted as droppable in UITabWidget. Improved draw invalidation in UIStackWidget.
This commit is contained in:
@@ -1018,9 +1018,13 @@ UIMenu* SettingsMenu::createTerminalMenu() {
|
||||
} );
|
||||
|
||||
if ( mApp->getStatusTerminalController() &&
|
||||
mApp->getStatusTerminalController()->getUITerminal() ) {
|
||||
mApp->getStatusTerminalController()->getUITerminal()->getTerm()->setCursorMode(
|
||||
mApp->getConfig().term.cursorStyle );
|
||||
mApp->getStatusTerminalController()->getTabWidget() ) {
|
||||
mApp->getStatusTerminalController()->getTabWidget()->forEachTab(
|
||||
[this]( UITab* tab ) {
|
||||
tab->getOwnedWidget()->asType<UITerminal>()->getTerm()->setCursorMode(
|
||||
mApp->getConfig().term.cursorStyle );
|
||||
},
|
||||
UI_TYPE_TERMINAL );
|
||||
}
|
||||
} );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user