The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: Rollmaterial on December 28, 2020, 12:08:09 AM

Title: Num pad types digits twice
Post by: Rollmaterial on December 28, 2020, 12:08:09 AM
Digits typed through the num pad are entered twice, e.g. typing numpad 4 enters "44".
Title: Re: Num pad types digits twice
Post by: jamespetts on December 28, 2020, 12:24:31 AM
I can confirm this, at least on a Linux platform. I think that this is new since the merge from Standard. Can I check what platform that you are using?
Title: Re: Num pad types digits twice
Post by: Freahk on December 28, 2020, 12:30:05 AM
I can confirm this on Linux.
It was introduced with a recent commit, likely the merge from standard.
Title: Re: Num pad types digits twice
Post by: Rollmaterial on December 28, 2020, 03:32:11 PM
I use Windows 10.
Title: Re: Num pad types digits twice
Post by: Ranran on December 28, 2020, 09:52:00 PM
numpad_always_moves_map = 0
Is there the following line in simconf.tab?
Without this (that is, when numpad_always_moves_map = 1), it seems that you can't enter numbers with numpad. I don't know if this is the same behavior as standard.
Introduced in r9298.
Title: Re: Num pad types digits twice
Post by: jamespetts on December 28, 2020, 09:54:31 PM
numpad_always_moves_map = 0

This line is set in the default simuconf.tab:

Code: [Select]
# If set to 1 (default) the numpad will always move the map.
# If active, this does not allow for number entry
numpad_always_moves_map = 0
Title: Re: Num pad types digits twice
Post by: Ranran on December 28, 2020, 09:59:32 PM
This line is set in the default simuconf.tab:
In my environment, when it is 0, numpad will enter the numbers correctly.
If it is 1, the cursor will move or garbled characters will be entered.