Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codehamr/codehamr
/ functions
Functions
622 in github.com/codehamr/codehamr
⨍
Functions
622
◇
Types & classes
43
Function
TestWrapForScrollbackCapsEveryLineToWidth
A prompt echo (or any content line) wider than the terminal must be wrapped before it reaches tea.Println: bubbletea dumps queued Println lines verbat
internal/tui/render_test.go:15
Function
TestWrapForScrollbackExpandsTabs
Terminals expand a literal tab to the next 8-column stop while ansi.Wrap counts it as one cell, so a tab-bearing line (glamour preserves tabs inside c
internal/tui/render_test.go:44
Function
TestWrapForScrollbackHardWrapsUnbrokenToken
A long unbroken token (no spaces) must still be hard-wrapped, or it would soft-wrap and re-trigger the drift the helper exists to prevent.
internal/tui/render_test.go:27
Function
TestWrapForScrollbackNoWidthIsNoop
width <= 0 (before the first WindowSizeMsg) is a no-op passthrough.
internal/tui/render_test.go:63
Function
TestWrapRowsMatchesBubblesBehaviour
TestWrapRowsMatchesBubblesBehaviour: wrapRows must match the row count of bubbles/textarea's internal wrap(): word-boundary aware, hard-wrap fallback
internal/tui/tui_test.go:2330
Function
TestWriteFileCreatesParentDirs
(t *testing.T)
internal/tools/write_test.go:30
Function
TestWriteFileEmptyPath
(t *testing.T)
internal/tools/write_test.go:42
Function
TestWriteFileHappy
(t *testing.T)
internal/tools/write_test.go:13
Function
TestWriteFileMkdirErrorWhenParentIsFile
TestWriteFileMkdirErrorWhenParentIsFile checks the (mkdir error) branch: a MkdirAll failure must surface in the output string (bash convention), never
internal/tools/write_test.go:52
Function
TestWriteFileRefusesNonRegular
TestWriteFileRefusesNonRegular: write_file to an existing FIFO with no reader blocks identically in open(2) O_WRONLY; same guard, same contract.
internal/tools/nonregular_unix_test.go:53
Function
TestWriteFileWriteErrorWhenTargetIsDir
TestWriteFileWriteErrorWhenTargetIsDir checks the (write error) branch: writing to an existing directory fails at os.WriteFile, and the error must com
internal/tools/write_test.go:68
Method
Unwrap
()
internal/cloud/cloud.go:110
Method
Update
Update is the promptInput's message entry point. Large pastes are swallowed into a chip and chip-aware keys handled before delegation; everything else
internal/tui/prompt.go:96
Method
View
View delegates to the textarea. Chip labels are already plain text in the value, so no post-processing is needed.
internal/tui/prompt.go:467
Function
budgetResponseHandler
budgetResponseHandler is a test LLM endpoint that answers with a single "ok" message plus the budget header, using OpenAI SSE format.
internal/tui/tui_test.go:1200
Method
cmdClear
(_ []string)
internal/tui/slash.go:198
Method
cmdHamrpass
cmdHamrpass: `/hamrpass` shows status + how-to, `/hamrpass <key>` validates, saves the key on the managed hamrpass profile, switches active, and pings
internal/tui/slash.go:282
Method
cmdModel
--- handlers --------------------------------------------------------------- cmdModel: `/models` lists, `/models <name>` sets. Cycling is Tab/Shift+Ta
internal/tui/slash.go:141
Function
hamrpassArgHint
hamrpassArgHint is the args callback for /hamrpass: one synthetic row whose value mirrors the typed argument and whose description carries the live va
internal/tui/slash.go:264
Function
main
()
cmd/codehamr/main.go:33
Function
reExec
reExec runs the freshly-installed binary. Windows has no execve, so instead of the Unix same-PID swap we spawn it as a child sharing our stdio, wait,
cmd/codehamr/reexec_windows.go:20
Function
setProcessGroup
setProcessGroup is a no-op on Windows: the bash tool needs /bin/sh and POSIX process groups, so it isn't expected to run on a native Windows host. Thi
internal/tools/bash_windows.go:11
← previous
601–622 of 622, ranked by callers