Home
last modified time | relevance | path

Searched refs:termWidth (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/dports/devel/gh/cli-2.4.0/vendor/github.com/AlecAivazis/survey/v2/
H A Dsurvey_test.go339 termWidth int
385 termWidth: 20,
396 termWidth: 20,
406 termWidth: 20,
412 if tt.termWidth == 0 {
413 tt.termWidth = 100
433 termWidth int
479 termWidth: 20,
490 termWidth: 20,
500 termWidth: 20,
[all …]
H A Drenderer_posix_test.go19 termWidth := 72
27 Cols: uint16(termWidth),
66 buf: bytes.NewBufferString(strings.Repeat("A", termWidth) + "\n"),
71 buf: bytes.NewBufferString(strings.Repeat("A", termWidth+1) + "\n"),
76 buf: bytes.NewBufferString(strings.Repeat("A", termWidth*2) + "\n"),
81 buf: bytes.NewBufferString(strings.Repeat("A", termWidth*2+1) + "\n"),
H A Drenderer.go143 func (r *Renderer) termWidth() (int, error) { func
145 termWidth, _, err := term.GetSize(fd)
146 return termWidth, err
150 w, err := r.termWidth()
/dports/devel/bit/bit-1.1.2/vendor/github.com/AlecAivazis/survey/v2/
H A Drenderer_posix_test.go19 termWidth := 72
27 Cols: uint16(termWidth),
66 buf: bytes.NewBufferString(strings.Repeat("A", termWidth) + "\n"),
71 buf: bytes.NewBufferString(strings.Repeat("A", termWidth+1) + "\n"),
76 buf: bytes.NewBufferString(strings.Repeat("A", termWidth*2) + "\n"),
81 buf: bytes.NewBufferString(strings.Repeat("A", termWidth*2+1) + "\n"),
H A Drenderer.go120 func (r *Renderer) termWidth() (int, error) { func
122 termWidth, _, err := goterm.GetSize(fd)
123 return termWidth, err
129 w, err := r.termWidth()
/dports/net/tunneller/tunneller-release-0.6/
H A Dcmd_client.go286 termWidth, termHeight := ui.TerminalDimensions()
298 p11.SetRect(0, 3, termWidth, 9)
308 p12.SetRect(0, 10, termWidth, 17)
316 p21.SetRect(0, 3, termWidth, termHeight/2)
326 p22.SetRect(0, (termHeight/2)+1, termWidth, termHeight-3)
327 p22.ColumnWidths = []int{20, termWidth - 20 - 3}
379 tabpane.SetRect(0, 0, termWidth, 3)
/dports/net/nncp/nncp-8.0.2/src/uilive/
H A Dwriter.go30 var termWidth int var
58 termWidth, _ = getTermSize()
59 if termWidth != 0 {
93 if overFlowHandled && currentLine.Len() > termWidth {
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/vbauerster/mpb/v4/
H A Ddraw_test.go269 for termWidth, cases := range testSuite {
282 tmpBuf.ReadFrom(s.draw(termWidth))
286 if utf8.RuneCount(by) > termWidth {
287 …t.Errorf("termWidth:%d %q barWidth:%d overflow termWidth\n", termWidth, tc.name, utf8.RuneCount(by…
292 …t.Errorf("termWidth:%d %q want: %q %d, got: %q %d\n", termWidth, tc.name, tc.want, len(tc.want), g…
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/vendor/github.com/minio/pkg/quick/
H A Derrorutil.go42 termWidth := 25
50 termWidth = width
75 idx := lineLen - termWidth + errorShift
/dports/www/mediawiki135/mediawiki-1.35.5/tests/parser/
H A DeditTests.php11 private $termWidth; variable in ParserEditTests
35 $this->termWidth = $this->getTermSize()[0] - 1;
104 $width = $this->termWidth - 9;
159 $heading .= str_repeat( '─', $this->termWidth - mb_strlen( $heading ) );
173 $div1 = $term->color( 34 ) . str_repeat( '━', $this->termWidth ) .
175 $div2 = $term->color( 34 ) . str_repeat( '─', $this->termWidth ) .
315 $expectedChunks = str_split( $expectedLine, $this->termWidth - 3 );
322 $actualChunks = str_split( $actualLine, $this->termWidth - 3 );
/dports/www/mediawiki136/mediawiki-1.36.3/tests/parser/
H A DeditTests.php11 private $termWidth; variable in ParserEditTests
35 $this->termWidth = $this->getTermSize()[0] - 1;
104 $width = $this->termWidth - 9;
159 $heading .= str_repeat( '─', $this->termWidth - mb_strlen( $heading ) );
173 $div1 = $term->color( 34 ) . str_repeat( '━', $this->termWidth ) .
175 $div2 = $term->color( 34 ) . str_repeat( '─', $this->termWidth ) .
315 $expectedChunks = str_split( $expectedLine, $this->termWidth - 3 );
322 $actualChunks = str_split( $actualLine, $this->termWidth - 3 );
/dports/www/mediawiki137/mediawiki-1.37.1/tests/parser/
H A DeditTests.php11 private $termWidth; variable in ParserEditTests
35 $this->termWidth = $this->getTermSize()[0] - 1;
104 $width = $this->termWidth - 9;
159 $heading .= str_repeat( '─', $this->termWidth - mb_strlen( $heading ) );
173 $div1 = $term->color( 34 ) . str_repeat( '━', $this->termWidth ) .
175 $div2 = $term->color( 34 ) . str_repeat( '─', $this->termWidth ) .
315 $expectedChunks = str_split( $expectedLine, $this->termWidth - 3 );
322 $actualChunks = str_split( $actualLine, $this->termWidth - 3 );
/dports/devel/bit/bit-1.1.2/vendor/github.com/gosuri/uilive/
H A Dwriter.go20 var termWidth int var
60 termWidth, _ = getTermSize()
61 if termWidth != 0 {
94 if overFlowHandled && currentLine.Len() > termWidth {
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/exp/terminal/
H A Dterminal.go70 termWidth, termHeight int member
89 termWidth: 80,
175 y := x / t.termWidth
176 x = x % t.termWidth
361 remainingOnLine := t.termWidth - t.cursorX
370 if t.cursorX == t.termWidth {
417 t.cursorX = chars % t.termWidth
418 t.cursorY = chars / t.termWidth
519 t.termWidth, t.termHeight = width, height
/dports/lang/gcc48/gcc-4.8.5/libgo/go/exp/terminal/
H A Dterminal.go70 termWidth, termHeight int member
89 termWidth: 80,
175 y := x / t.termWidth
176 x = x % t.termWidth
361 remainingOnLine := t.termWidth - t.cursorX
370 if t.cursorX == t.termWidth {
417 t.cursorX = chars % t.termWidth
418 t.cursorY = chars / t.termWidth
519 t.termWidth, t.termHeight = width, height
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/exp/terminal/
H A Dterminal.go70 termWidth, termHeight int member
89 termWidth: 80,
175 y := x / t.termWidth
176 x = x % t.termWidth
361 remainingOnLine := t.termWidth - t.cursorX
370 if t.cursorX == t.termWidth {
417 t.cursorX = chars % t.termWidth
418 t.cursorY = chars / t.termWidth
519 t.termWidth, t.termHeight = width, height
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgo/go/exp/terminal/
H A Dterminal.go70 termWidth, termHeight int member
89 termWidth: 80,
175 y := x / t.termWidth
176 x = x % t.termWidth
361 remainingOnLine := t.termWidth - t.cursorX
370 if t.cursorX == t.termWidth {
417 t.cursorX = chars % t.termWidth
418 t.cursorY = chars / t.termWidth
519 t.termWidth, t.termHeight = width, height
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/exp/terminal/
H A Dterminal.go70 termWidth, termHeight int member
89 termWidth: 80,
175 y := x / t.termWidth
176 x = x % t.termWidth
361 remainingOnLine := t.termWidth - t.cursorX
370 if t.cursorX == t.termWidth {
417 t.cursorX = chars % t.termWidth
418 t.cursorY = chars / t.termWidth
519 t.termWidth, t.termHeight = width, height
/dports/devel/mingw32-gcc/gcc-4.8.1/libgo/go/exp/terminal/
H A Dterminal.go70 termWidth, termHeight int member
89 termWidth: 80,
175 y := x / t.termWidth
176 x = x % t.termWidth
361 remainingOnLine := t.termWidth - t.cursorX
370 if t.cursorX == t.termWidth {
417 t.cursorX = chars % t.termWidth
418 t.cursorY = chars / t.termWidth
519 t.termWidth, t.termHeight = width, height
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/cmd/
H A Dupdate-notifier.go66 termWidth := 25
68 termWidth = width
72 if maxContentWidth > termWidth {
/dports/net/traefik/traefik-2.6.1/vendor/github.com/AlecAivazis/survey/v2/
H A Drenderer.go120 func (r *Renderer) termWidth() (int, error) { func
122 termWidth, _, err := goterm.GetSize(fd)
123 return termWidth, err
129 w, err := r.termWidth()
/dports/security/gopass/gopass-1.13.0/pkg/termio/
H A Dprogress.go124 termWidth, _, _ := term.GetSize(int(syscall.Stdin))
125 if termWidth < 0 {
128 termWidth = 80
131 barWidth := uint(termWidth)
/dports/net/gscloud/gscloud-0.11.0/vendor/golang.org/x/term/
H A Dterminal.go78 termWidth, termHeight int member
108 termWidth: 80,
252 y := x / t.termWidth
253 x = x % t.termWidth
343 t.cursorY += t.cursorX / t.termWidth
347 t.cursorX = t.cursorX % t.termWidth
609 remainingOnLine := t.termWidth - t.cursorX
838 oldWidth := t.termWidth
839 t.termWidth, t.termHeight = width, height
862 if t.cursorX >= t.termWidth {
[all …]
/dports/net/grpcui/grpcui-1.1.0/vendor/golang.org/x/crypto/ssh/terminal/
H A Dterminal.go77 termWidth, termHeight int member
107 termWidth: 80,
246 y := x / t.termWidth
247 x = x % t.termWidth
337 t.cursorY += t.cursorX / t.termWidth
341 t.cursorX = t.cursorX % t.termWidth
603 remainingOnLine := t.termWidth - t.cursorX
829 oldWidth := t.termWidth
830 t.termWidth, t.termHeight = width, height
853 if t.cursorX >= t.termWidth {
[all …]
/dports/devel/hub/hub-2.14.2/vendor/golang.org/x/crypto/ssh/terminal/
H A Dterminal.go76 termWidth, termHeight int member
106 termWidth: 80,
245 y := x / t.termWidth
246 x = x % t.termWidth
326 t.cursorY += t.cursorX / t.termWidth
330 t.cursorX = t.cursorX % t.termWidth
592 remainingOnLine := t.termWidth - t.cursorX
818 oldWidth := t.termWidth
819 t.termWidth, t.termHeight = width, height
842 if t.cursorX >= t.termWidth {
[all …]

12345678910>>...12