Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

move-point.mjs 299B

12345678910
  1. export default movePoint
  2. // Note! `move` only works inside lines! It’s not possible to move past other
  3. // chunks (replacement characters, tabs, or line endings).
  4. function movePoint(point, offset) {
  5. point.column += offset
  6. point.offset += offset
  7. point._bufferIndex += offset
  8. return point
  9. }