Sublime Forum

BackSpace not work in Ubuntu 12.04

#1

I have installed Sublime text 2 in my ubuntu 12.04 And I type some code python on it and it has some bug. Can’t delete charactor by backspace.
here is my example code:

import datetime

def happy(date):
	if(date=="31/12"):
		print("Happy birthday")
	else:
		print("nothing")
if __name__ == "__main__":
	today = datetime.datetime.now()
	day = str(today.day)
	month = str(today.month)
	date = day+"/"+month
	print(happy(date))

I installed plugin: Pylinter, SublimeREPL.
I use: sublime.log_input(True) and it shows: key evt: backspace
I can’t delete line: “print(happy(date))” by backspace, but i can delte with ctrl+backspace, delete. I don’t know what happens with it? How can i fix that?

0 Likes