replpp.util

package replpp.util

Members list

Type members

Classlikes

object Cache

A simple cache for cacheKey -> Path, where Path is a single file

A simple cache for cacheKey -> Path, where Path is a single file

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Cache.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def colorise(value: String, color: EscapeAttr)(using colors: Colors): String
def deleteRecursively(path: Path): Unit
def linesFromFile(path: Path): Seq[String]
def readFileFromZip(zipFile: Path, fileName: String): Try[Array[Byte]]
def sequenceTry[A](tries: Seq[Try[A]]): Try[Seq[A]]
def terminalWidth: Try[Int]

Lookup the current terminal width - useful e.g. if you want to render something using the maximum space available. Uses jline-jna, which therefor needs to be in the repl's classpath, which is why it's listed in

Lookup the current terminal width - useful e.g. if you want to render something using the maximum space available. Uses jline-jna, which therefor needs to be in the repl's classpath, which is why it's listed in

replpp.Config.ForClasspath.DefaultInheritClasspathIncludes

Attributes