Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mathaou/termdbms
/ GetOffsetForLineNumber
Function
GetOffsetForLineNumber
viewer/ui.go:22–24 ·
view source on GitHub ↗
(a int)
Source
from the content-addressed store, hash-verified
20
)
21
22
func
GetOffsetForLineNumber(a int) int {
23
return
FormatModeOffset - len(strconv.Itoa(a))
24
}
25
26
func
SelectOption(m *TuiModel) {
27
if
m.UI.RenderSelection {
Callers
3
MoveCursorWithinBounds
Function · 0.85
HandleFormatMovement
Function · 0.85
HandleFormatMode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected