ammonite.terminal.LineReader$
See theLineReader companion class Attributes
- Companion:
- class
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Value members
Given a buffer with characters and newlines, calculates how high
the buffer is and where the cursor goes inside of it.
Given a buffer with characters and newlines, calculates how high
the buffer is and where the cursor goes inside of it.
Attributes
Computes how tall a line of text is when wrapped at width
.
Computes how tall a line of text is when wrapped at width
.
Even 0-character lines still take up one row!
width = 2
0 -> 1
1 -> 1
2 -> 1
3 -> 2
4 -> 2
5 -> 3
Attributes