 config = require './config'
 
 module.exports = class Termap
-
   width: null
   height: null
   canvas: null

        @mouseDragging = x: event.x, y: event.y

    # update internal mouse tracker
    @mousePosition = x: event.x, y: event.y
    @notify @_getFooter()

  _onKey: (key) ->


    "center: #{utils.digits @center.lat, 3}, #{utils.digits @center.lon, 3}   "+
    "zoom: #{utils.digits @zoom, 2}   "+
    "mouse: #{@mousePosition.x-@width/2} #{@mousePosition.y-@height/2}   "

  notify: (text) ->
    @_write "\r\x1B[K"+text unless config.headless
