Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nsf/termbox-go
/ functions
Functions
180 in github.com/nsf/termbox-go
⨍
Functions
180
◇
Types & classes
40
↓ 110 callers
Function
draw_key
(k []key, fg, bg termbox.Attribute)
_demos/keyboard.go:383
↓ 34 callers
Function
tbprint
(x, y int, fg, bg termbox.Attribute, msg string)
_demos/rgbcolor.go:36
↓ 21 callers
Function
w
(s)
collect_terminfo.py:15
↓ 19 callers
Function
printf_tb
(x, y int, fg, bg termbox.Attribute, format string, args ...interface{})
_demos/keyboard.go:378
↓ 14 callers
Function
is_cursor_hidden
(x, y int)
termbox_common.go:57
↓ 10 callers
Method
clear
()
termbox_common.go:46
↓ 9 callers
Method
uintptr
()
termbox_windows.go:75
↓ 6 callers
Function
get_term_size
(fd uintptr)
termbox.go:208
↓ 6 callers
Function
tbprint
(x, y int, fg, bg termbox.Attribute, msg string)
_demos/raw_input.go:9
↓ 5 callers
Function
fill
(x, y, w, h int, cell termbox.Cell)
_demos/editbox.go:17
↓ 5 callers
Method
init
(width, height int)
termbox_common.go:11
↓ 5 callers
Function
ti_try_path
(path string)
terminfo.go:82
↓ 4 callers
Function
AttributeToRGB
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 callers
Method
MoveCursorTo
(boffset int)
_demos/editbox.go:158
↓ 4 callers
Function
draw_all
()
_demos/output.go:71
↓ 4 callers
Function
draw_keyboard
()
_demos/keyboard.go:389
↓ 4 callers
Function
escapeRGB
(fg bool, r uint8, g uint8, b uint8)
termbox.go:187
↓ 4 callers
Function
extract_event
(inbuf []byte, event *Event, allow_esc_wait bool)
termbox.go:524
↓ 4 callers
Method
resize
(width, height int)
termbox_common.go:17
↓ 4 callers
Function
set_console_mode
(h syscall.Handle, mode dword)
termbox_windows.go:287
↓ 4 callers
Function
tbprint
This program can demonstrate the 16 basic colors available for foreground and background.
_demos/16colortest.go:9
↓ 4 callers
Function
update_size_maybe
()
termbox.go:338
↓ 4 callers
Function
write_cursor
(x, y int)
termbox.go:99
↓ 3 callers
Method
InsertRune
(r rune)
_demos/editbox.go:217
↓ 3 callers
Method
RuneUnderCursor
()
_demos/editbox.go:163
↓ 3 callers
Function
get_console_screen_buffer_info
(h syscall.Handle, info *console_screen_buffer_info)
termbox_windows.go:165
↓ 3 callers
Function
move_cursor
(x, y int)
termbox_windows.go:648
↓ 3 callers
Function
set_console_screen_buffer_size
(h syscall.Handle, size coord)
termbox_windows.go:124
↓ 3 callers
Function
show_cursor
(visible bool)
termbox_windows.go:655
↓ 2 callers
Method
MoveCursorOneRuneBackward
()
_demos/editbox.go:171
↓ 2 callers
Method
MoveCursorOneRuneForward
()
_demos/editbox.go:179
↓ 2 callers
Function
byte_slice_remove
(text []byte, from, to int)
_demos/editbox.go:52
↓ 2 callers
Function
cell_to_char_info
(c Cell)
termbox_windows.go:625
↓ 2 callers
Function
clear
()
termbox_windows.go:670
↓ 2 callers
Function
draw
(i int)
_demos/interrupt.go:16
↓ 2 callers
Function
draw
()
_demos/random_output.go:7
↓ 2 callers
Function
escaped
(s)
collect_terminfo.py:5
↓ 2 callers
Function
extract_raw_event
(data []byte, event *Event)
termbox.go:505
↓ 2 callers
Function
fcntl
(fd int, cmd int, arg int)
termbox.go:594
↓ 2 callers
Function
fix_win_size
(out syscall.Handle, size coord)
termbox_windows.go:492
↓ 2 callers
Function
flush
()
termbox.go:314
↓ 2 callers
Function
get_ct
(table []word, idx int)
termbox_windows.go:617
↓ 2 callers
Function
get_win_size
(out syscall.Handle)
termbox_windows.go:468
↓ 2 callers
Function
iter_pairs
(iterable)
collect_terminfo.py:69
↓ 2 callers
Function
mod_str
(m termbox.Modifier)
_demos/raw_input.go:37
↓ 2 callers
Function
print_combinations_table
(sx, sy int, attrs []termbox.Attribute)
_demos/output.go:18
↓ 2 callers
Function
reallocBackBuffer
(w, h int)
_demos/paint.go:73
↓ 2 callers
Function
redraw_all
()
_demos/editbox.go:234
↓ 2 callers
Function
redraw_all
()
_demos/rgbcolor.go:43
↓ 2 callers
Function
redraw_all
()
_demos/raw_input.go:48
↓ 2 callers
Function
send_attr
(fg, bg Attribute)
termbox.go:215
↓ 2 callers
Function
send_char
(x, y int, ch rune)
termbox.go:304
↓ 2 callers
Function
send_clear
()
termbox.go:320
↓ 2 callers
Function
set_console_cursor_info
(h syscall.Handle, info *console_cursor_info)
termbox_windows.go:222
↓ 2 callers
Function
set_console_cursor_position
(h syscall.Handle, pos coord)
termbox_windows.go:248
↓ 2 callers
Function
set_console_window_info
(h syscall.Handle, window *small_rect)
termbox_windows.go:137
↓ 2 callers
Function
switch_output_mode
(direction int)
_demos/output.go:190
↓ 2 callers
Function
tcsetattr
(fd uintptr, termios *syscall_Termios)
termbox.go:350
↓ 2 callers
Function
ti_read_string
(rd *bytes.Reader, str_off, table int16)
terminfo.go:193
↓ 2 callers
Function
tput
(term, name)
collect_terminfo.py:8
↓ 2 callers
Function
updateAndDrawButtons
(current *int, x, y int, mx, my int, n int, attrf attrFunc)
_demos/paint.go:26
↓ 2 callers
Function
update_and_redraw_all
(mx, my int)
_demos/paint.go:57
↓ 1 callers
Method
AdjustVOffset
Adjusts line visual offset to a proper value depending on width
_demos/editbox.go:135
↓ 1 callers
Function
Clear
Clears the internal back buffer.
api_windows.go:256
↓ 1 callers
Method
CursorX
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 callers
Method
DeleteRuneBackward
()
_demos/editbox.go:195
↓ 1 callers
Method
DeleteRuneForward
()
_demos/editbox.go:205
↓ 1 callers
Method
DeleteTheRestOfTheLine
()
_demos/editbox.go:213
↓ 1 callers
Method
Draw
Draws the EditBox in the given location, 'h' is not used at the moment
_demos/editbox.go:80
↓ 1 callers
Function
Flush
Synchronizes the internal back buffer with the terminal.
api.go:171
↓ 1 callers
Function
Flush
Synchronizes the internal back buffer with the terminal.
api_windows.go:121
↓ 1 callers
Method
MoveCursorToBeginningOfTheLine
()
_demos/editbox.go:187
↓ 1 callers
Method
MoveCursorToEndOfTheLine
()
_demos/editbox.go:191
↓ 1 callers
Method
RuneBeforeCursor
()
_demos/editbox.go:167
↓ 1 callers
Function
SetCursor
Sets the position of the cursor. See also HideCursor().
api.go:223
↓ 1 callers
Function
SetCursor
Sets the position of the cursor. See also HideCursor().
api_windows.go:153
↓ 1 callers
Function
append_diff_line
(y int)
termbox_windows.go:552
↓ 1 callers
Function
bgthread
()
_demos/advanced_editing.go:66
↓ 1 callers
Function
byte_slice_grow
(s []byte, desired_cap int)
_demos/editbox.go:43
↓ 1 callers
Function
byte_slice_insert
(text []byte, offset int, what []byte)
_demos/editbox.go:59
↓ 1 callers
Function
create_event
()
termbox_windows.go:330
↓ 1 callers
Function
dispatch_press
(ev *termbox.Event)
_demos/keyboard.go:669
↓ 1 callers
Function
do_term
(term, nick)
collect_terminfo.py:77
↓ 1 callers
Function
do_terms
(d)
collect_terminfo.py:97
↓ 1 callers
Function
draw_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 callers
Function
enable_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 callers
Function
fill_console_output_attribute
(h syscall.Handle, attr word, n int)
termbox_windows.go:315
↓ 1 callers
Function
fill_console_output_character
(h syscall.Handle, char wchar, n int)
termbox_windows.go:300
↓ 1 callers
Function
fillbg
(bg termbox.Attribute)
_demos/advanced_editing.go:57
↓ 1 callers
Function
funckeymap
(k termbox.Key)
_demos/keyboard.go:607
↓ 1 callers
Function
get_console_cursor_info
(h syscall.Handle, info *console_cursor_info)
termbox_windows.go:235
↓ 1 callers
Function
get_console_mode
(h syscall.Handle, mode *dword)
termbox_windows.go:274
↓ 1 callers
Function
get_current_console_font
(h syscall.Handle, info *console_font_info)
termbox_windows.go:370
↓ 1 callers
Function
get_win_min_size
(out syscall.Handle)
termbox_windows.go:447
↓ 1 callers
Function
input_event_producer
()
termbox_windows.go:847
↓ 1 callers
Function
key_event_record_to_event
(r *key_event_record)
termbox_windows.go:692
↓ 1 callers
Function
load_terminfo
()
terminfo.go:30
↓ 1 callers
Function
mouse_button_str
(k termbox.Key)
_demos/raw_input.go:19
↓ 1 callers
Function
next_char
(current int)
_demos/output.go:10
↓ 1 callers
Function
parse_escape_sequence
(event *Event, buf []byte)
termbox.go:491
next →
1–100 of 180, ranked by callers