(sigil tui demo)
(sigil tui demo) - Chat demo exercising all sigil-tui components
Run with: ./build/dev/bin/sigil run sigil-tui-demo
Exports
contactprocedureConstruct a contact struct.
contact?procedureTest if a value is a contact struct.
contact-nameprocedureGet the name field of a contact struct.
contact-online?procedureGet the online? field of a contact struct.
contact-group?procedureGet the group? field of a contact struct.
%message--typevariableGet the group? field of a contact struct.
messageprocedureConstruct a message struct.
message?procedureTest if a value is a message struct.
message-senderprocedureGet the sender field of a message struct.
message-textprocedureGet the text field of a message struct.
message-timestampprocedureGet the timestamp field of a message struct.
%app-state--typevariableGet the timestamp field of a message struct.
app-stateprocedureConstruct a app-state struct.
app-state?procedureTest if a value is a app-state struct.
app-state-contactsprocedureGet the contacts field of a app-state struct.
app-state-selectedprocedureGet the selected field of a app-state struct.
app-state-conversationsprocedureGet the conversations field of a app-state struct.
app-state-inputprocedureGet the input field of a app-state struct.
app-state-modeprocedureGet the mode field of a app-state struct.
app-state-scroll-offsetprocedureGet the scroll-offset field of a app-state struct.
app-state-last-tickprocedureGet the last-tick field of a app-state struct.
app-state-sim-counterprocedureGet the sim-counter field of a app-state struct.
set-app-state-contacts!procedureSet the contacts field of a app-state struct.
set-app-state-selected!procedureSet the selected field of a app-state struct.
set-app-state-conversations!procedureSet the conversations field of a app-state struct.
set-app-state-input!procedureSet the input field of a app-state struct.
set-app-state-mode!procedureSet the mode field of a app-state struct.
set-app-state-scroll-offset!procedureSet the scroll-offset field of a app-state struct.
set-app-state-last-tick!procedureSet the last-tick field of a app-state struct.
set-app-state-sim-counter!procedureSet the sim-counter field of a app-state struct.
run-demoprocedureRun the chat demo application.