summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-06-04 22:14:44 -0700
committerJune McEnroe <june@causal.agency>2021-06-05 13:23:23 -0400
commit8d7460859b9f4a74b4d8c19295de4f8d21117f2b (patch)
treeb43b2dcb6eeb86648e3277f03f6c09e628cc4113 /configure
parentList windows with /window (diff)
downloadcatgirl-8d7460859b9f4a74b4d8c19295de4f8d21117f2b.tar.gz
catgirl-8d7460859b9f4a74b4d8c19295de4f8d21117f2b.zip
Avoid writing past the end of the status bar
When waddnstr is called with a string that would extend past the
end of the window, the string is truncated, the cursor remains at
the last column, and ERR is returned. If this error is ignored and
the loop continues, the next call to waddnstr overwrites the character
at this column, resulting in a slight visual artifact. When the
window is too small to fit the full status line, it is effectively
truncated by one space on the right, since the string shown for
each channel begins with a space.  Additionally, if the last window
is the current window, the space is shown with a colored background.

To fix this, when waddnstr returns ERR, exit the loop in styleAdd()
early return -1 to propogate this error down to the caller.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions
2021-12-04check if channel is valid on launchdestruc7i0n 2021-12-03switched to mc-heads.net avatar apidestruc7i0n 2021-12-03ability to specify custom avatar providerdestruc7i0n closes #74 2021-06-26only allow text messages to be handleddestruc7i0n * move config.json to config.example.json * update packages 2021-06-20use uuids for avatar requests with webhooksdestruc7i0n 2021-06-09readme updatesdestruc7i0n regarding #72 and some feedback regarding Heroku 2021-06-06Missed an old 1.12 death message in the regexDaniel Matthies 2021-05-17Add config deprecation noticeDaniel Matthies 2021-04-21Fixing death message false positivesDaniel Matthies 2020-10-31update packagesdestruc7i0n 2020-10-29Add option to output server status into discordelveskevtar Signed-off-by: elveskevtar <kevtar@gmail.com> 2020-10-01new config stuffsurepy 2020-10-01Add compatibility options for minecraft versions lower than 1.7.2surepy 2020-08-04Update regex for replaceDiscordMentionsMarshall Oliver 2020-08-04Add nickname to variables objMarshall Oliver To use, add %nickname% to your MINCRAFT_TELLRAW_TEMPLATE var in config. 2020-07-22Fixed coding styleFeiko Joosten Fixed the coding style based on @destruc7i0n's feedback. 2020-07-17Changed tail to make use of watch file.Feiko Joosten Fixed an issue where the log file required a manual refresh before the new lines were detected. 2020-05-23Fixed user mention detectionZachery Notz 2020-05-23Improved regex so that TELLRAW templates can use variables more than onceZachery Notz 2020-04-29backwards compat with new optiondestruc7i0n 2020-04-29add the ability to handle webhook messagesdestruc7i0n 2020-04-19Fixed tellraw components not being encoded properlyBen Landin 2020-02-11Update README.mddestruc7i0n 2020-02-05Precedencedestruc7i0n 2020-02-05Allow specification of the channel name rather than iddestruc7i0n 2020-02-05Some more cleanupdestruc7i0n 2020-02-05More config handlingdestruc7i0n 2020-02-04Update typesdestruc7i0n 2020-02-04Docs updatesdestruc7i0n 2020-02-04Code cleanupdestruc7i0n 2020-02-04Refactor and rebuild to TypeScriptdestruc7i0n 2019-02-11Local file supportdestruc7i0n 2018-11-11Let's make this usable again!destruc7i0n 2018-02-23Allow configurable discord formatArcensoth 2018-02-23Revert example tellraw format to mimic the originalArcensoth 2018-02-23Update readme with new tellraw config optionArcensoth 2018-02-23Allow configurable tellraw formatArcensoth 2018-02-23Allow config file to be passed as a parameterArcensoth