/
/
/
session.c
Amendments on April 26, 2022
jcs made amendment
96
over 2 years ago
Amendments on April 21, 2022
jcs made amendment
95
over 2 years ago
Amendments on April 19, 2022
jcs made amendment
94
over 2 years ago
Amendments on April 14, 2022
Fix drawing on the wrong window, drawing in the wrong font, crash at
exit, etc.
jcs made amendment
92
over 2 years ago
Amendments on March 31, 2022
jcs made amendment
91
over 2 years ago
jcs made amendment
90
over 2 years ago
Amendments on March 3, 2022
jcs made amendment
85
over 2 years ago
Amendments on March 1, 2022
This file will get a lot of activity, so put it in a separate file for
easy rotation and to avoid corruption of the important user database
jcs made amendment
83
over 2 years ago
Amendments on February 21, 2022
Handle backspace and character insertion when cursor is not at the end
of a field.
Have session_input_char return a short so we can return custom codes
> 255 for keys or other events.
jcs made amendment
81
over 2 years ago
Amendments on February 18, 2022
Instead of only supporting hard-coded strings, we can now output the
value of a variable based on the conditional.
Since we're using ?: for ternary conditionals, switch variable length
character from : to | (e.g., "username|10")
jcs made amendment
77
over 2 years ago
Amendments on February 17, 2022
jcs made amendment
73
over 2 years ago
Amendments on January 29, 2022
jcs made amendment
69
over 2 years ago
Amendments on January 26, 2022
{{B}} and {{/}} inline are much easier than using printf with ansi()
calls. Also allows some logic in templates like showing different
strings in the main menu depending on the user.
jcs made amendment
66
over 2 years ago
Amendments on January 23, 2022
jcs made amendment
64
over 2 years ago
Amendments on January 22, 2022
jcs made amendment
63
over 2 years ago
jcs made amendment
59
over 2 years ago
Amendments on January 18, 2022
Instead of tracking a current console, track a focusable object that
has callbacks to window-specific functions for things like keyboard
input, mouse input, updating, etc. This lets the main loop not care
about which window is getting input and lets each type of window
(console, settings, etc.) deal with input as it needs to, in its own
file.
jcs made amendment
55
over 2 years ago
Amendments on January 5, 2022
jcs made amendment
48
over 2 years ago
Amendments on January 2, 2022
This lets us flush at certain places to send it out once we've built
up a whole line or whatever to smooth out the output
jcs made amendment
42
over 2 years ago
Amendments on December 31, 2021
session: Better handle autologin, look like it's actually logging in
main: Handle GoAway, stop using WaitNextEvent
ansi: Terminate calls to ansi() with ANSI_END instead of NULL
chat: Implement /help and /quit
console: Lots of speed improvements
*: Standarize on "column" and "line"
session: Various bugfixes, mark ending sessions and check everywhere
console: Fix attr resetting in redraw, fixes one-char bold items
session: Support specific-width varible expansion in session_load_view
jcs made amendment
39
over 2 years ago