| Did you know ... | Search Documentation: |
| Get methods |
.e.
of the process running in the terminal. Fails if there is none, which is
the case while the terminal is driven by a thread of this process. While
it succeeds the control keys are passed to that process rather than
looked up in terminal_image<-bindings.
Unix only.point(col, row).|event -> name<-find
does and with the same defaults: case sensitive, ignoring word
boundaries, and -- note -- reporting the end of a match going
forwards and its start going back. A negative times
searches backwards. from outside the buffer is clamped to
the nearest end. Fails if there is no match.
Unlike text_buffer<-find,
a repeat starts one character past the match it found, so times
greater than one reaches the hits after the first.
from.<-id, or
fail if it has scrolled out of the buffer.|point|event -> terminal_block|event -> terminal_block.e.
fails unless the position is in the left margin beside a command whose
output can be hidden. What tells a click or a popup on the marker from
one on the text.column of the visible row:
the selection, the hit of an incremental search, one of its other
matches, or the hyperlink under it. Fails when the cell is drawn from
its own attributes, which is to say from the colours and the bold or
underline the client asked for.
This goes through the very computation the painter uses, so it is not a second opinion about what should be drawn. It says nothing about what has actually been drawn yet: a cell whose line has not been repainted since still shows what it showed before.
code occupies when drawn
in
terminal_image<-font:
0 for combining marks, 2 for wide characters and 1 for the rest. This is
the classification the renderer itself uses, so clients that must
predict our layout can share it rather than keep a second copy that
drifts. In particular it accounts for symbol and emoji code points that
the static Unicode tables call width 1 while an emoji-presenting font
draws them twice as wide. Fails while the terminal has no cell metrics
yet.