aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/ui/root.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ed4b5f..578b198 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
# Unnamed Minecraft Protocol Snooper (UMPS)
This project aims to be a general purpose program for snooping on the Minecraft Java Edition network protocol.
+**NOTE**: This project is very WIP and currently only contains some basic UI code. Come back later for actual stuff maybe.
+
These are the features that are intended for the future:
- Online-mode authentication with a Mojang token
- Proxy mode
diff --git a/src/ui/root.c b/src/ui/root.c
index fd82ea6..eeeb1b9 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -151,8 +151,10 @@ void ui__root_draw_menu(struct ui_window_root *root)
text = ui__root_get_menu_text(item);
size_t tlen = strlen(text);
- if (item == root->menu_selected)
+ if (item == root->menu_selected) {
wattroff(root->menu_cwindow, A_REVERSE);
+ /* the coordinates of the selected menu item are here, place the window :) */
+ }
ui__root_scroll_text(root, cursor, text, tlen);