mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: disable init() function in github/charmbracelet/bubbletea dependency (#15817)
- Fixes an issue where an init function causes writes to the terminal when using `agent-exec` which results in raw ansi characters being printed to the web terminal. - Was also causing significant latency in launching a web terminal
This commit is contained in:
@@ -67,6 +67,10 @@ replace github.com/pkg/sftp => github.com/mafredri/sftp v1.13.6-0.20231212144145
|
||||
// which we use in the awsiamrds package.
|
||||
replace github.com/lib/pq => github.com/coder/pq v1.10.5-0.20240813183442-0c420cb5a048
|
||||
|
||||
// Removes an init() function that causes terminal sequences to be printed to the web terminal when
|
||||
// used in conjunction with agent-exec. See https://github.com/coder/coder/pull/15817
|
||||
replace github.com/charmbracelet/bubbletea => github.com/coder/bubbletea v1.2.2-0.20241212190825-007a1cdb2c41
|
||||
|
||||
require (
|
||||
cdr.dev/slog v1.6.2-0.20241112041820-0ec81e6e67bb
|
||||
cloud.google.com/go/compute/metadata v0.5.2
|
||||
@@ -202,7 +206,7 @@ require go.uber.org/mock v0.5.0
|
||||
require (
|
||||
github.com/cespare/xxhash v1.1.0
|
||||
github.com/charmbracelet/bubbles v0.20.0
|
||||
github.com/charmbracelet/bubbletea v1.2.1
|
||||
github.com/charmbracelet/bubbletea v1.1.0
|
||||
github.com/charmbracelet/lipgloss v1.0.0
|
||||
github.com/coder/serpent v0.10.0
|
||||
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21
|
||||
|
||||
Reference in New Issue
Block a user