Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit35dffee

Browse files
committed
fix(agent/reconnectingpty): fix screen startup speed by disabling messages
Fixes#11872
1 parent799d71f commit35dffee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎agent/reconnectingpty/screen.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ func newScreen(ctx context.Context, cmd *pty.Cmd, options *Options, logger slog.
8181
rpty.id=hex.EncodeToString(buf)
8282

8383
settings:= []string{
84+
// Disable the startup message that appears for five seconds.
85+
"startup_message off",
86+
// Some message are hard-coded, the best we can do is set msgwait to 0
87+
// which seems to hide them. Examples of such messages are screen
88+
// version during startup and "[screen is terminating]" when quitting.
89+
"msgminwait 0",
90+
"msgwait 0",
8491
// Tell screen not to handle motion for xterm* terminals which allows
8592
// scrolling the terminal via the mouse wheel or scroll bar (by default
8693
// screen uses it to cycle through the command history). There does not

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp