"Fossies" - the Fresh Open Source Software Archive

Member "ponyc-0.33.0/packages/term/ansi_notify.pony" (1 Nov 2019, 1000 Bytes) of package /linux/misc/ponyc-0.33.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Pony source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 interface ANSINotify
    2   """
    3   Receive input from an ANSITerm.
    4   """
    5   fun ref apply(term: ANSITerm ref, input: U8) =>
    6     None
    7 
    8   fun ref up(ctrl: Bool, alt: Bool, shift: Bool) =>
    9     None
   10 
   11   fun ref down(ctrl: Bool, alt: Bool, shift: Bool) =>
   12     None
   13 
   14   fun ref left(ctrl: Bool, alt: Bool, shift: Bool) =>
   15     None
   16 
   17   fun ref right(ctrl: Bool, alt: Bool, shift: Bool) =>
   18     None
   19 
   20   fun ref delete(ctrl: Bool, alt: Bool, shift: Bool) =>
   21     None
   22 
   23   fun ref insert(ctrl: Bool, alt: Bool, shift: Bool) =>
   24     None
   25 
   26   fun ref home(ctrl: Bool, alt: Bool, shift: Bool) =>
   27     None
   28 
   29   fun ref end_key(ctrl: Bool, alt: Bool, shift: Bool) =>
   30     None
   31 
   32   fun ref page_up(ctrl: Bool, alt: Bool, shift: Bool) =>
   33     None
   34 
   35   fun ref page_down(ctrl: Bool, alt: Bool, shift: Bool) =>
   36     None
   37 
   38   fun ref fn_key(i: U8, ctrl: Bool, alt: Bool, shift: Bool) =>
   39     None
   40 
   41   fun ref prompt(term: ANSITerm ref, value: String) =>
   42     None
   43 
   44   fun ref size(rows: U16, cols: U16) =>
   45     None
   46 
   47   fun ref closed() =>
   48     None