@@ -202,7 +202,7 @@ fn runWordle(
202202 win .hideCursor ();
203203
204204 const title = "Stats" ;
205- const subtitle = "h/l or ←/→: month q/ Esc: back Ctrl+C: quit" ;
205+ const subtitle = "h/l or ←/→: month Esc: back Ctrl+C: quit" ;
206206 printCentered (win , 0 , title , .{ .bold = true });
207207 printCentered (win , 1 , subtitle , .{ .fg = colors .ui .text_dim });
208208
@@ -214,7 +214,7 @@ fn runWordle(
214214 .winsize = > | ws | try vx .resize (allocator , tty .writer (), ws ),
215215 .key_press = > | k | {
216216 if (keys .isCtrlC (k )) return .quit ;
217- if (k .matches ('q' , .{}) or k . matches ( vaxis .Key .escape , .{})) return .back_to_menu ;
217+ if (k .matches (vaxis .Key .escape , .{})) return .back_to_menu ;
218218
219219 if (k .matches (vaxis .Key .left , .{}) or k .matches ('h' , .{})) {
220220 if (first_played ) | fp | {
@@ -269,7 +269,7 @@ fn runConnections(
269269 win .hideCursor ();
270270
271271 const title = "Stats" ;
272- const subtitle = "h/l or ←/→: month q/ Esc: back Ctrl+C: quit" ;
272+ const subtitle = "h/l or ←/→: month Esc: back Ctrl+C: quit" ;
273273 printCentered (win , 0 , title , .{ .bold = true });
274274 printCentered (win , 1 , subtitle , .{ .fg = colors .ui .text_dim });
275275
@@ -281,7 +281,7 @@ fn runConnections(
281281 .winsize = > | ws | try vx .resize (allocator , tty .writer (), ws ),
282282 .key_press = > | k | {
283283 if (keys .isCtrlC (k )) return .quit ;
284- if (k .matches ('q' , .{}) or k . matches ( vaxis .Key .escape , .{})) return .back_to_menu ;
284+ if (k .matches (vaxis .Key .escape , .{})) return .back_to_menu ;
285285
286286 if (k .matches (vaxis .Key .left , .{}) or k .matches ('h' , .{})) {
287287 if (first_played ) | fp | {
@@ -325,7 +325,7 @@ fn runWordleUnlimited(
325325 win .hideCursor ();
326326
327327 const title = "Stats" ;
328- const subtitle = "q/ Esc: back Ctrl+C: quit" ;
328+ const subtitle = "Esc: back Ctrl+C: quit" ;
329329 printCentered (win , 0 , title , .{ .bold = true });
330330 printCentered (win , 1 , subtitle , .{ .fg = colors .ui .text_dim });
331331
@@ -337,7 +337,7 @@ fn runWordleUnlimited(
337337 .winsize = > | ws | try vx .resize (allocator , tty .writer (), ws ),
338338 .key_press = > | k | {
339339 if (keys .isCtrlC (k )) return .quit ;
340- if (k .matches ('q' , .{}) or k . matches ( vaxis .Key .escape , .{})) return .back_to_menu ;
340+ if (k .matches (vaxis .Key .escape , .{})) return .back_to_menu ;
341341 },
342342 .mouse , .mouse_leave = > {},
343343 }
@@ -629,7 +629,7 @@ fn runStub(
629629 win .hideCursor ();
630630
631631 const title = "Stats" ;
632- const subtitle = "q/ Esc: back Ctrl+C: quit" ;
632+ const subtitle = "Esc: back Ctrl+C: quit" ;
633633 printCentered (win , 0 , title , .{ .bold = true });
634634 printCentered (win , 1 , subtitle , .{ .fg = colors .ui .text_dim });
635635
@@ -651,7 +651,7 @@ fn runStub(
651651 .winsize = > | ws | try vx .resize (allocator , tty .writer (), ws ),
652652 .key_press = > | k | {
653653 if (keys .isCtrlC (k )) return .quit ;
654- if (k .matches ('q' , .{}) or k . matches ( vaxis .Key .escape , .{})) return .back_to_menu ;
654+ if (k .matches (vaxis .Key .escape , .{})) return .back_to_menu ;
655655 },
656656 .mouse , .mouse_leave = > {},
657657 }
0 commit comments