MCPcopy Index your code

hub / github.com/nsf/termbox-go / functions

Functions180 in github.com/nsf/termbox-go

↓ 110 callersFunctiondraw_key
(k []key, fg, bg termbox.Attribute)
_demos/keyboard.go:383
↓ 34 callersFunctiontbprint
(x, y int, fg, bg termbox.Attribute, msg string)
_demos/rgbcolor.go:36
↓ 21 callersFunctionw
(s)
collect_terminfo.py:15
↓ 19 callersFunctionprintf_tb
(x, y int, fg, bg termbox.Attribute, format string, args ...interface{})
_demos/keyboard.go:378
↓ 14 callersFunctionis_cursor_hidden
(x, y int)
termbox_common.go:57
↓ 10 callersMethodclear
()
termbox_common.go:46
↓ 9 callersMethoduintptr
()
termbox_windows.go:75
↓ 6 callersFunctionget_term_size
(fd uintptr)
termbox.go:208
↓ 6 callersFunctiontbprint
(x, y int, fg, bg termbox.Attribute, msg string)
_demos/raw_input.go:9
↓ 5 callersFunctionfill
(x, y, w, h int, cell termbox.Cell)
_demos/editbox.go:17
↓ 5 callersMethodinit
(width, height int)
termbox_common.go:11
↓ 5 callersFunctionti_try_path
(path string)
terminfo.go:82
↓ 4 callersFunctionAttributeToRGB
AttributeToRGB converts an Attribute to the underlying rgb triplet. This is only useful if termbox is in Full RGB mode and the specified attribute is
api_common.go:206
↓ 4 callersMethodMoveCursorTo
(boffset int)
_demos/editbox.go:158
↓ 4 callersFunctiondraw_all
()
_demos/output.go:71
↓ 4 callersFunctiondraw_keyboard
()
_demos/keyboard.go:389
↓ 4 callersFunctionescapeRGB
(fg bool, r uint8, g uint8, b uint8)
termbox.go:187
↓ 4 callersFunctionextract_event
(inbuf []byte, event *Event, allow_esc_wait bool)
termbox.go:524
↓ 4 callersMethodresize
(width, height int)
termbox_common.go:17
↓ 4 callersFunctionset_console_mode
(h syscall.Handle, mode dword)
termbox_windows.go:287
↓ 4 callersFunctiontbprint
This program can demonstrate the 16 basic colors available for foreground and background.
_demos/16colortest.go:9
↓ 4 callersFunctionupdate_size_maybe
()
termbox.go:338
↓ 4 callersFunctionwrite_cursor
(x, y int)
termbox.go:99
↓ 3 callersMethodInsertRune
(r rune)
_demos/editbox.go:217
↓ 3 callersMethodRuneUnderCursor
()
_demos/editbox.go:163
↓ 3 callersFunctionget_console_screen_buffer_info
(h syscall.Handle, info *console_screen_buffer_info)
termbox_windows.go:165
↓ 3 callersFunctionmove_cursor
(x, y int)
termbox_windows.go:648
↓ 3 callersFunctionset_console_screen_buffer_size
(h syscall.Handle, size coord)
termbox_windows.go:124
↓ 3 callersFunctionshow_cursor
(visible bool)
termbox_windows.go:655
↓ 2 callersMethodMoveCursorOneRuneBackward
()
_demos/editbox.go:171
↓ 2 callersMethodMoveCursorOneRuneForward
()
_demos/editbox.go:179
↓ 2 callersFunctionbyte_slice_remove
(text []byte, from, to int)
_demos/editbox.go:52
↓ 2 callersFunctioncell_to_char_info
(c Cell)
termbox_windows.go:625
↓ 2 callersFunctionclear
()
termbox_windows.go:670
↓ 2 callersFunctiondraw
(i int)
_demos/interrupt.go:16
↓ 2 callersFunctiondraw
()
_demos/random_output.go:7
↓ 2 callersFunctionescaped
(s)
collect_terminfo.py:5
↓ 2 callersFunctionextract_raw_event
(data []byte, event *Event)
termbox.go:505
↓ 2 callersFunctionfcntl
(fd int, cmd int, arg int)
termbox.go:594
↓ 2 callersFunctionfix_win_size
(out syscall.Handle, size coord)
termbox_windows.go:492
↓ 2 callersFunctionflush
()
termbox.go:314
↓ 2 callersFunctionget_ct
(table []word, idx int)
termbox_windows.go:617
↓ 2 callersFunctionget_win_size
(out syscall.Handle)
termbox_windows.go:468
↓ 2 callersFunctioniter_pairs
(iterable)
collect_terminfo.py:69
↓ 2 callersFunctionmod_str
(m termbox.Modifier)
_demos/raw_input.go:37
↓ 2 callersFunctionprint_combinations_table
(sx, sy int, attrs []termbox.Attribute)
_demos/output.go:18
↓ 2 callersFunctionreallocBackBuffer
(w, h int)
_demos/paint.go:73
↓ 2 callersFunctionredraw_all
()
_demos/editbox.go:234
↓ 2 callersFunctionredraw_all
()
_demos/rgbcolor.go:43
↓ 2 callersFunctionredraw_all
()
_demos/raw_input.go:48
↓ 2 callersFunctionsend_attr
(fg, bg Attribute)
termbox.go:215
↓ 2 callersFunctionsend_char
(x, y int, ch rune)
termbox.go:304
↓ 2 callersFunctionsend_clear
()
termbox.go:320
↓ 2 callersFunctionset_console_cursor_info
(h syscall.Handle, info *console_cursor_info)
termbox_windows.go:222
↓ 2 callersFunctionset_console_cursor_position
(h syscall.Handle, pos coord)
termbox_windows.go:248
↓ 2 callersFunctionset_console_window_info
(h syscall.Handle, window *small_rect)
termbox_windows.go:137
↓ 2 callersFunctionswitch_output_mode
(direction int)
_demos/output.go:190
↓ 2 callersFunctiontcsetattr
(fd uintptr, termios *syscall_Termios)
termbox.go:350
↓ 2 callersFunctionti_read_string
(rd *bytes.Reader, str_off, table int16)
terminfo.go:193
↓ 2 callersFunctiontput
(term, name)
collect_terminfo.py:8
↓ 2 callersFunctionupdateAndDrawButtons
(current *int, x, y int, mx, my int, n int, attrf attrFunc)
_demos/paint.go:26
↓ 2 callersFunctionupdate_and_redraw_all
(mx, my int)
_demos/paint.go:57
↓ 1 callersMethodAdjustVOffset
Adjusts line visual offset to a proper value depending on width
_demos/editbox.go:135
↓ 1 callersFunctionClear
Clears the internal back buffer.
api_windows.go:256
↓ 1 callersMethodCursorX
Please, keep in mind that cursor depends on the value of line_voffset, which is being set on Draw() call, so.. call this method after Draw() one.
_demos/editbox.go:226
↓ 1 callersMethodDeleteRuneBackward
()
_demos/editbox.go:195
↓ 1 callersMethodDeleteRuneForward
()
_demos/editbox.go:205
↓ 1 callersMethodDeleteTheRestOfTheLine
()
_demos/editbox.go:213
↓ 1 callersMethodDraw
Draws the EditBox in the given location, 'h' is not used at the moment
_demos/editbox.go:80
↓ 1 callersFunctionFlush
Synchronizes the internal back buffer with the terminal.
api.go:171
↓ 1 callersFunctionFlush
Synchronizes the internal back buffer with the terminal.
api_windows.go:121
↓ 1 callersMethodMoveCursorToBeginningOfTheLine
()
_demos/editbox.go:187
↓ 1 callersMethodMoveCursorToEndOfTheLine
()
_demos/editbox.go:191
↓ 1 callersMethodRuneBeforeCursor
()
_demos/editbox.go:167
↓ 1 callersFunctionSetCursor
Sets the position of the cursor. See also HideCursor().
api.go:223
↓ 1 callersFunctionSetCursor
Sets the position of the cursor. See also HideCursor().
api_windows.go:153
↓ 1 callersFunctionappend_diff_line
(y int)
termbox_windows.go:552
↓ 1 callersFunctionbgthread
()
_demos/advanced_editing.go:66
↓ 1 callersFunctionbyte_slice_grow
(s []byte, desired_cap int)
_demos/editbox.go:43
↓ 1 callersFunctionbyte_slice_insert
(text []byte, offset int, what []byte)
_demos/editbox.go:59
↓ 1 callersFunctioncreate_event
()
termbox_windows.go:330
↓ 1 callersFunctiondispatch_press
(ev *termbox.Event)
_demos/keyboard.go:669
↓ 1 callersFunctiondo_term
(term, nick)
collect_terminfo.py:77
↓ 1 callersFunctiondo_terms
(d)
collect_terminfo.py:97
↓ 1 callersFunctiondraw_ramp
This gives a table of the 256-color-set, both the foreground and background variants. It is ordered to produce many color ramps. Quit with ESC
_demos/256ramp.go:17
↓ 1 callersFunctionenable_wait_for_escape_sequence
On all systems other than macOS, disable behavior which will wait before deciding that the escape key was pressed, to account for partially send escap
escwait.go:9
↓ 1 callersFunctionfill_console_output_attribute
(h syscall.Handle, attr word, n int)
termbox_windows.go:315
↓ 1 callersFunctionfill_console_output_character
(h syscall.Handle, char wchar, n int)
termbox_windows.go:300
↓ 1 callersFunctionfillbg
(bg termbox.Attribute)
_demos/advanced_editing.go:57
↓ 1 callersFunctionfunckeymap
(k termbox.Key)
_demos/keyboard.go:607
↓ 1 callersFunctionget_console_cursor_info
(h syscall.Handle, info *console_cursor_info)
termbox_windows.go:235
↓ 1 callersFunctionget_console_mode
(h syscall.Handle, mode *dword)
termbox_windows.go:274
↓ 1 callersFunctionget_current_console_font
(h syscall.Handle, info *console_font_info)
termbox_windows.go:370
↓ 1 callersFunctionget_win_min_size
(out syscall.Handle)
termbox_windows.go:447
↓ 1 callersFunctioninput_event_producer
()
termbox_windows.go:847
↓ 1 callersFunctionkey_event_record_to_event
(r *key_event_record)
termbox_windows.go:692
↓ 1 callersFunctionload_terminfo
()
terminfo.go:30
↓ 1 callersFunctionmouse_button_str
(k termbox.Key)
_demos/raw_input.go:19
↓ 1 callersFunctionnext_char
(current int)
_demos/output.go:10
↓ 1 callersFunctionparse_escape_sequence
(event *Event, buf []byte)
termbox.go:491
next →1–100 of 180, ranked by callers