X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=lightcards%2Fdisplay.py;h=f31952ef206d06b46e32e21076fd34976450c7f1;hb=313027851532e022f47a320df6f100a52496277a;hp=54277d36756064184933ae2ded8a924a11744947;hpb=70ceee06ff42fc06e0f4d113df4c8b76e81d007c;p=lightcards.git diff --git a/lightcards/display.py b/lightcards/display.py index 54277d3..f31952e 100755 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -133,7 +133,9 @@ def get_key(stdscr, stack, headers, idx): disp_card(stdscr, stack, headers, idx) elif key in ["0", "^", "KEY_HOME"]: idx.setIdx(0) + idx.setSide(0) disp_card(stdscr, stack, headers, idx) elif key in ["$", "KEY_END"]: idx.setIdx(len(stack) - 1) + idx.setSide(0) disp_card(stdscr, stack, headers, idx)