Skip to content

Commit

Permalink
Refactor qtermwidget
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn>
  • Loading branch information
QQxiaoming committed Aug 28, 2024
1 parent fe9bf29 commit 78e963d
Show file tree
Hide file tree
Showing 14 changed files with 307 additions and 986 deletions.
2 changes: 0 additions & 2 deletions lib/qtermwidget/ColorScheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ class ColorScheme
*
* @param table Array into which the color entries for this color scheme
* are copied.
* @param randomSeed Color schemes may allow certain colors in their
* palette to be randomized. The seed is used to pick the random color.
*/
void getColorTable(ColorEntry* table) const;

Expand Down
2 changes: 1 addition & 1 deletion lib/qtermwidget/Emulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Emulation::Emulation() :
this, &Emulation::bracketedPasteModeChanged);

connect(this, &Emulation::cursorChanged, this, [this] (KeyboardCursorShape cursorShape, bool blinkingCursorEnabled) {
emit titleChanged( 50, QString(QLatin1String("CursorShape=%1;BlinkingCursorEnabled=%2"))
emit profileChangeCommandReceived(QString(QLatin1String("CursorShape=%1;BlinkingCursorEnabled=%2"))
.arg(static_cast<int>(cursorShape)).arg(blinkingCursorEnabled) );
});
}
Expand Down
1 change: 0 additions & 1 deletion lib/qtermwidget/HistorySearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <QMap>
#include <QRegularExpression>

#include <Session.h>
#include <ScreenWindow.h>

#include "Emulation.h"
Expand Down
Loading

0 comments on commit 78e963d

Please sign in to comment.