Skip to content

Instantly share code, notes, and snippets.

Anna Szybalska anula

  • Switzerland
View GitHub Profile

Keybase proof

I hereby claim:

  • I am anula on github.
  • I am anula ( on keybase.
  • I have a public key whose fingerprint is 6D92 EFCB 5A24 65EA 4BD6 DF73 E1DA 016D 6A65 9B17

To claim this, I am signing this object:

View boot.asm
global start
section .bss
resb 64
section .text
bits 32
anula / gist:5748a896cb0c749257a5
Created May 8, 2015
Workaround for colorful prompt in prompt_toolkit
View gist:5748a896cb0c749257a5
from __future__ import unicode_literals
from prompt_toolkit.contrib.completers import WordCompleter
## Almost exact copy of prompt_toolkit.shortcuts
from prompt_toolkit.buffer import Buffer
from prompt_toolkit.enums import DEFAULT_BUFFER
from prompt_toolkit.eventloop.base import EventLoop
from prompt_toolkit.filters import IsDone, HasFocus, Always, Never, RendererHeightIsKnown
from prompt_toolkit.history import History
You can’t perform that action at this time.