Skip to content

Instantly share code, notes, and snippets.

View atomicules's full-sized avatar

atomicules atomicules

View GitHub Profile
# A simple app to test Keypress, Keydown and Keyup functionality
# Reports key being pressed and changes colour with change in state
Shoes.app do
@keypress = para "Keypress: "
para "\n"
@keydown = para "Keydown:"
para "\n"
@keyup = para "Keyup: "
@kpff = 0
@kdff = 0
=================
Last 20 lines...
=================
./shoes/native.h:22: warning: function declaration isn’t a prototype
./shoes/native.h:24: warning: function declaration isn’t a prototype
./shoes/native.h:40: warning: function declaration isn’t a prototype
shoes/http/nsurl.m: In function ‘-[ShoesHttp readHeaders:]’:
shoes/http/nsurl.m:114: warning: assignment discards qualifiers from pointer target type
shoes/http/nsurl.m:116: warning: assignment discards qualifiers from pointer target type