A lightweight programming environment for desktop and mobile devices

rename a function to be more specific

This caused a bug in Lua Carousel. Scenario:

  • Run carousel.love
  • run the abbreviations screen which creates an abbreviation called color
  • run driver.love

Before this commit, carousel.love would silently exit, and driver.love would then hang waiting for it to come back. The cause:

  • driver.love sends MANIFEST
  • in processing it, carousel.love calls color() to emit a color escape.
  • the error silently quits the app

After restarting carousel.love, the error shows up in driver.love:

Error: live.lua:104: bad argument #3 to 'color' (number expected, got no value) stack traceback: [C]: in function 'color' live.lua:104: in function 'receive_from_driver' …

Created by  akkartik  on December 15, 2023
5TAOIS6T2DHANYYLUZNGFYEGPRW6CV6UVZSXCY46YZZ3S7UO7HZAC
Change contents