mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Fix hint statusline buffer. I can't stand all of this special case spaghetty code event handling mess.
This commit is contained in:
@@ -836,7 +836,7 @@ const Hints = Module("hints", {
|
||||
this._hintNumber = parseInt(key, 10);
|
||||
}
|
||||
else
|
||||
this._hintNumber = (this._hintNumber * 10) + parseInt(key, 10);
|
||||
this._hintNumber = parseInt(String(this._hintNumber) + key, 10);
|
||||
|
||||
this._updateStatusline();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user