bothack.frame
->Frame
(->Frame lines colors cursor)
Positional factory function for class bothack.frame.Frame.
before-cursor
(before-cursor frame)
Returns the part of the line to the left of the cursor.
before-cursor?
(before-cursor? frame text)
Returns true if the given text appears just before the cursor.
cursor-line
(cursor-line frame)
Returns the line of text where the cursor is on the frame, or the previous
one if it is on the start of the next line.
looks-engulfed?
(looks-engulfed? {:keys [cursor lines], :as frame})
map->Frame
(map->Frame m__5869__auto__)
Factory function for class bothack.frame.Frame, taking a map of keywords to field values.
non-inverse
(non-inverse color)
nth-line
(nth-line frame n)
Returns the line of text on n-th line of the frame.
print-colors
(print-colors f)
topline+
(topline+ frame)
Returns the top line with possible overflow on the second line appended.
topline-cursor?
(topline-cursor? frame)
wrapped-cursor?
(wrapped-cursor? frame)