mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-07 09:03:54 -04:00
Bumps [github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go) from 0.40.0 to 0.41.0. - [Release notes](https://github.com/testcontainers/testcontainers-go/releases) - [Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: github.com/testcontainers/testcontainers-go dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
24 lines
624 B
Go
24 lines
624 B
Go
package ansiterm
|
|
|
|
type oscStringState struct {
|
|
baseState
|
|
}
|
|
|
|
func (oscState oscStringState) Handle(b byte) (s state, e error) {
|
|
oscState.parser.logf("OscString::Handle %#x", b)
|
|
nextState, err := oscState.baseState.Handle(b)
|
|
if nextState != nil || err != nil {
|
|
return nextState, err
|
|
}
|
|
|
|
// There are several control characters and sequences which can
|
|
// terminate an OSC string. Most of them are handled by the baseState
|
|
// handler. The ANSI_BEL character is a special case which behaves as a
|
|
// terminator only for an OSC string.
|
|
if b == ANSI_BEL {
|
|
return oscState.parser.ground, nil
|
|
}
|
|
|
|
return oscState, nil
|
|
}
|