From bdb741ebb3a04adb1889a25c8f33c3ac9dff3b8c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 1 May 2023 07:32:27 -0400 Subject: Remove on-boot and reboot methods. --- catbird/line-editor.scm | 17 +++++++++-------- catbird/minibuffer.scm | 3 ++- catbird/node-2d.scm | 3 ++- catbird/node.scm | 13 +------------ catbird/overlay.scm | 3 ++- catbird/ui.scm | 3 ++- 6 files changed, 18 insertions(+), 24 deletions(-) diff --git a/catbird/line-editor.scm b/catbird/line-editor.scm index b991f47..4fe8cc7 100644 --- a/catbird/line-editor.scm +++ b/catbird/line-editor.scm @@ -76,14 +76,8 @@ #:init-value black) (accepting-input? #:accessor accepting-input? #:init-value #t)) -(define-method (on-change (editor ) slot old new) - (case slot - ((prompt) - (update-visual editor)) - (else - (next-method)))) - -(define-method (on-boot (editor )) +(define-method (initialize (editor ) initargs) + (next-method) (attach-to editor (make