Doubled last character in Interactive Lua Prompt
Started by SuicidalSTDz, May 04 2013 03:11 PM
14 replies to this topic
#1
Posted 04 May 2013 - 03:11 PM
Enter text until it scrolls the line one space to the right. Now, scroll to the beginning and then scroll to the end. The last character doubles.
After doing this, if you press the down arrow key the doubled character will stay.
After doing this, if you press the down arrow key the doubled character will stay.
#2
Posted 04 May 2013 - 04:52 PM
Yeah, I've had this before. Was too lazy to report it. Also, the letter is a ghost, doesn't affect the code.
#3
Posted 04 May 2013 - 05:05 PM
Yeah, I know. But, it is still a bug
#6
Posted 04 May 2013 - 08:25 PM
That 'bug' has been there for ages
#7
Posted 04 May 2013 - 08:34 PM
If it has been there for ages, why has it not been fixed yet?
#9
#10
#11
Posted 06 May 2013 - 10:45 AM
Sammich Lord, on 06 May 2013 - 10:10 AM, said:
CTRL+F is the shortcut for find. It works in most web browsers and text editors.
#12
#13
Posted 06 May 2013 - 11:41 AM
LBPHacker, on 06 May 2013 - 10:03 AM, said:
That. Temporary solution:
Spoiler
anyway, here is the new redraw function:
local function redraw( _sCustomReplaceChar ) local nScroll = 0 if sx + nPos >= w then nScroll = (sx + nPos) - w end term.setCursorPos( sx, sy ) local sReplace = _sCustomReplaceChar or _sReplaceChar if sReplace then term.write( string.rep(sReplace, string.len(sLine) - nScroll).." ") else term.write( string.sub( sLine, nScroll + 1 ).." ") end term.setCursorPos( sx + nPos - nScroll, sy ) endaround line 228
#14
#15
Posted 08 May 2013 - 12:43 AM
When I see this bug I always think I made typo. Luckily it's a ghost character in the way that it will not be passed to the function
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











