Dungeon Dilettante
Posts: 3
Joined: Tuesday, 5th November 2019, 14:22
Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.
Dungeon Dilettante
Posts: 3
Joined: Tuesday, 5th November 2019, 14:22
Ziggurat Zagger
Posts: 6454
Joined: Tuesday, 30th October 2012, 19:06
The_Fireplace wrote:As someone who only ever plays the offline game, I would not like the game to remember the previous character's name when creating a new character; I always want the new character's name to be random. For about a year and a half now, I have been hitting backspace on the main menu every time before I create a character, and now that backspace removes a single character instead of the whole name, clearing the name has become annoying enough that I am looking for a way to automate it. Is there a script I can add to init.txt that will automatically clear that name so I get a random character name each time I make a new character?
Dungeon Dilettante
Posts: 3
Joined: Tuesday, 5th November 2019, 14:22
Siegurt wrote:The_Fireplace wrote:As someone who only ever plays the offline game, I would not like the game to remember the previous character's name when creating a new character; I always want the new character's name to be random. For about a year and a half now, I have been hitting backspace on the main menu every time before I create a character, and now that backspace removes a single character instead of the whole name, clearing the name has become annoying enough that I am looking for a way to automate it. Is there a script I can add to init.txt that will automatically clear that name so I get a random character name each time I make a new character?
It used to be that if you started typing (without even hitting backspace) it would clear the name, I start with a new name every time too, so I also find it very annoying. I filed a bug report here:
https://crawl.develz.org/mantis/view.php?id=12119
If you have any interest in following any progress made on fixing it.
Ziggurat Zagger
Posts: 6454
Joined: Tuesday, 30th October 2012, 19:06
The_Fireplace wrote:Siegurt wrote:The_Fireplace wrote:As someone who only ever plays the offline game, I would not like the game to remember the previous character's name when creating a new character; I always want the new character's name to be random. For about a year and a half now, I have been hitting backspace on the main menu every time before I create a character, and now that backspace removes a single character instead of the whole name, clearing the name has become annoying enough that I am looking for a way to automate it. Is there a script I can add to init.txt that will automatically clear that name so I get a random character name each time I make a new character?
It used to be that if you started typing (without even hitting backspace) it would clear the name, I start with a new name every time too, so I also find it very annoying. I filed a bug report here:
https://crawl.develz.org/mantis/view.php?id=12119
If you have any interest in following any progress made on fixing it.
I'd prefer to not have to type anything extra at all, and just have it automatically generate a random name for each new character. Even if they change it back to the old behavior, I would still have to press backspace to clear it every time. I went ahead and followed the issue because I'm curious to see how they respond.
Dungeon Dilettante
Posts: 3
Joined: Tuesday, 5th November 2019, 14:22
Dungeon Master
Posts: 388
Joined: Monday, 18th August 2014, 20:04
It used to be that if you started typing (without even hitting backspace) it would clear the name,
Ziggurat Zagger
Posts: 6454
Joined: Tuesday, 30th October 2012, 19:06
advil wrote:It used to be that if you started typing (without even hitting backspace) it would clear the name,
This change was intentional, because the behavior of name-clearing (and backspace) was extremely unpredictable in general from how standard UI textboxes work. You can now use ctrl-u to clear the name textbox. (I'm not saying we won't continue to try to improve this use case, since there's been a surprising amount of response to this change, just that the exact old behavior probably won't come back.)
Dungeon Master
Posts: 388
Joined: Monday, 18th August 2014, 20:04
Siegurt wrote:If your cursor is at end of text, typing appends backspace removes the last character, if you have the whole field highlighted, typing replaces, backspaces clears.
Typically such a text box would start empty.
Ziggurat Zagger
Posts: 6454
Joined: Tuesday, 30th October 2012, 19:06
advil wrote:Siegurt wrote:If your cursor is at end of text, typing appends backspace removes the last character, if you have the whole field highlighted, typing replaces, backspaces clears.
Typically such a text box would start empty.
I do actually already know how a textbox works, thx.
Cocytus Succeeder
Posts: 2184
Joined: Tuesday, 3rd February 2015, 22:05
Siegurt wrote:Control-U is also pretty odd as a 'clear this text field' shortcut, is that some kind of standard thing that I haven't come across? (it's not vim/emacs/anythingwindows/visual studio) nor do I see it in any help documentation (you'd want a hit for something esoteric like that on the menu, but that's a lot of clutter we probably don't want)
Dungeon Master
Posts: 388
Joined: Monday, 18th August 2014, 20:04
bel wrote:Siegurt wrote:Control-U is also pretty odd as a 'clear this text field' shortcut, is that some kind of standard thing that I haven't come across? (it's not vim/emacs/anythingwindows/visual studio) nor do I see it in any help documentation (you'd want a hit for something esoteric like that on the menu, but that's a lot of clutter we probably don't want)
Ctrl-U is "backward kill line" in bash: it deletes everything from the cursor position backwards.
Anyway, I didn't have any problems with the earlier behaviour. As Siegurt mentioned, it's quite normal for textboxes to come "pre-highlighted" so that you can just start typing if you want to replace the text already there.
Dungeon Master
Posts: 14
Joined: Friday, 29th December 2017, 19:18
Users browsing this forum: No registered users and 15 guests