[GRASS-SVN] r61102 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 1 08:08:05 PDT 2014
Author: annakrat
Date: 2014-07-01 08:08:05 -0700 (Tue, 01 Jul 2014)
New Revision: 61102
Modified:
grass/trunk/gui/wxpython/gui_core/prompt.py
Log:
wxGUI/prompt: fix browsing command history on Windows
Modified: grass/trunk/gui/wxpython/gui_core/prompt.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/prompt.py 2014-07-01 12:48:29 UTC (rev 61101)
+++ grass/trunk/gui/wxpython/gui_core/prompt.py 2014-07-01 15:08:05 UTC (rev 61102)
@@ -416,7 +416,8 @@
self.cmdindex = len(self.cmdbuffer) - 1
try:
- txt = self.cmdbuffer[self.cmdindex]
+ # without strip causes problem on windows
+ txt = self.cmdbuffer[self.cmdindex].strip()
except KeyError:
txt = ''
More information about the grass-commit
mailing list