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

Commit0442ee5

Browse files
authored
fix(agent/reconnectingpty): fix screen startup speed by disabling messages (#12190)
1 parenta2cbb0f commit0442ee5

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. This can happen for example if screen shows
88+
// the version message when starting up.
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