From 3eaca808346acf47ddc38c9a591ff0ec4e471148 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 15 Feb 2018 23:45:24 -0800 Subject: 4206 - edit/ app: consistent cursor positioning --- edit/002-typing.mu | 2 -- 1 file changed, 2 deletions(-) (limited to 'edit/002-typing.mu') diff --git a/edit/002-typing.mu b/edit/002-typing.mu index 709e8d22..47885c4f 100644 --- a/edit/002-typing.mu +++ b/edit/002-typing.mu @@ -269,8 +269,6 @@ def editor-render screen:&:screen, editor:&:editor -> screen:&:screen, editor:&: left:num <- get *editor, left:offset right:num <- get *editor, right:offset row:num, column:num <- render screen, editor - clear-line-until screen, right - row <- add row, 1 draw-horizontal screen, row, left, right, 9480/horizontal-dotted row <- add row, 1 clear-screen-from screen, row, left, left, right -- cgit 1.4.1-2-gfad0 lt' selected='selected'>hlt Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/html/f2c-1.mu
blob: b81203c4974f054af02f5bfcfabc93246e0471fb (plain) (blame)
1
2
3
4
5
6
7
8
# c = (f-32) * 5/9
def fahrenheit-to-celsius f:number -> c:number [
  local-scope
  load-ingredients
  tmp:number <- subtract f, 32
  tmp <- multiply tmp, 5
  c <- divide tmp, 9
]