package lsp
Install
Dune Dependency
Authors
-
AAndrey Popp <8mayday@gmail.com>
-
RRusty Key <iam@stfoo.ru>
-
LLouis Roché <louis@louisroche.net>
-
OOleksiy Golovko <alexei.golovko@gmail.com>
-
RRudi Grinberg <me@rgrinberg.com>
-
SSacha Ayoun <sachaayoun@gmail.com>
-
Ccannorin <cannorin@gmail.com>
-
UUlugbek Abdullaev <ulugbekna@gmail.com>
-
Thibaut Mattio
-
MMax Lantas <mnxndev@outlook.com>
Maintainers
Sources
sha256=9640f418cbacedb41d888908e99d3ad349d473c35876271acc9185d5c6ca1104
sha512=7353542380fcd419569fd729017ba592d817c284209033016c6921bd6bf0568fc51c8f47f88a82713bebbfacc9bdd841f512d984dd49c014632d27910089c935
doc/lsp.stdune/Stdune/Console/index.html
Module Stdune.Console
Source
Manages the console
The console is a system than can report messages and a status to the user. It is usually the terminal the application is connected to, however it could be something else. This module allow to set a global backend for the application as well as composing backends.
The main backend for the application
include Backend.S
Format and print a user message to the console
Change the status line
Print a message if the backend does not display the status line. This is needed so that the important status changes show up even when a dumb
terminal backend is used.
Reset the log output
print paragraphs
is a short-hand for:
print_user_message (User_message.make paragraphs)
printf fmt
is a convenient function for debugging. It formats a string and then print it raw followed by a newline. It is the same as:
print [Pp.verbatim (sprintf fmt ...)]
.
For properly formatted output you should use print
.
Status line management