fix:修正server ctrl-c退出时终端颜色没有恢复的问题。
This commit is contained in:
parent
b68017bc2a
commit
15085a1f8f
@ -11,7 +11,7 @@ ReflowComments: true
|
||||
SpacesBeforeTrailingComments: 3
|
||||
TabWidth: 4
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||
ColumnLimit: 130
|
||||
ColumnLimit: 80
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 2cf72f3e5c5313527b5d1442017caf06d51a3c02
|
||||
Subproject commit b9e7bdb7349cc0c469800e42b309676fb5495be8
|
@ -28,10 +28,8 @@ namespace fs = std::filesystem;
|
||||
|
||||
void msignal_handler(int signal)
|
||||
{
|
||||
if (signal == SIGINT) {
|
||||
fc_recovery_color();
|
||||
exit(signal);
|
||||
}
|
||||
fc_recovery_color();
|
||||
exit(signal);
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user