diff --git a/application.py b/application.py index 1575cc5..747aad9 100755 --- a/application.py +++ b/application.py @@ -114,8 +114,10 @@ class Application(object): # create all the insert methods for the character ranges we like for c in string.letters + string.digits + string.punctuation: - self.methods[obj.name] = method.InsertString(c) - self.methods[obj.name] = method.OverwriteChar(c) + obj = method.InsertString(c) + self.methods[obj.name] = obj + obj = method.OverwriteChar(c) + self.methods[obj.name] = obj # buffer list stuff height = self.y - 1