parent
1e7e2d9db9
commit
68e1f93e99
|
@ -5,7 +5,8 @@ from buffer.color import ColorDataBuffer
|
||||||
console = None
|
console = None
|
||||||
class ConsoleBuffer(Buffer):
|
class ConsoleBuffer(Buffer):
|
||||||
btype = 'console'
|
btype = 'console'
|
||||||
modename = 'ipython'
|
#modename = 'ipython'
|
||||||
|
modename = 'console'
|
||||||
bannerlines = [
|
bannerlines = [
|
||||||
'# Python Console\n',
|
'# Python Console\n',
|
||||||
"# Evaluate python expressions in the editor's context (self)\n",
|
"# Evaluate python expressions in the editor's context (self)\n",
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
from mode import Fundamental
|
#from mode import Fundamental
|
||||||
class Console(Fundamental): name = 'Console'
|
#class Console(Fundamental): name = 'Console'
|
||||||
|
from mode.ipython import Ipython
|
||||||
|
class Console(Ipython):
|
||||||
|
name = 'Console'
|
||||||
|
colors = {}
|
||||||
|
_bindings = {
|
||||||
|
'open-console': ('M-e',),
|
||||||
|
}
|
||||||
|
|
||||||
install = Console.install
|
install = Console.install
|
||||||
|
|
Loading…
Reference in New Issue