MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / getTermSize

Function getTermSize

pkg/blockcontroller/blockcontroller.go:358–367  ·  view source on GitHub ↗
(bdata *waveobj.Block)

Source from the content-addressed store, hash-verified

356}
357
358func getTermSize(bdata *waveobj.Block) waveobj.TermSize {
359 if bdata.RuntimeOpts != nil {
360 return bdata.RuntimeOpts.TermSize
361 } else {
362 return waveobj.TermSize{
363 Rows: 25,
364 Cols: 80,
365 }
366 }
367}
368
369func HandleAppendBlockFile(blockId string, blockFile string, data []byte) error {
370 ctx, cancelFn := context.WithTimeout(context.Background(), DefaultTimeout)

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected