Remove run command dialogue entirely

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

Remove run command dialogue entirely

by lightonflux » Wed Dec 09, 2015 05:54

If you press / a dialogue opens where you can input your commands. Sadly this dialogue is very limited and dumb. You can't get previous commands (via arrow keys) or use tab completion.

In my opinion it would be beneficial to remove the dialogue and add the functionality to the console.

So you would have F10 for the console and it would behave like it does now.

But when you press / the consoles opens and closes automatically after your confirm the command with Enter.

This would have the advantage that you can use the feature of the console and nobody has to maintain the code for the run command dialogue.
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: Remove run command dialogue entirely

by benrob0329 » Wed Dec 09, 2015 05:55

+1
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: Remove run command dialogue entirely

by Minetestforfun » Wed Dec 09, 2015 15:53

+1
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Remove run command dialogue entirely

by kaadmy » Wed Dec 09, 2015 20:40

+1
Never paint white stripes on roads near Zebra crossings.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: Remove run command dialogue entirely

by Amaz » Thu Dec 10, 2015 21:00

I coded this quickly: https://github.com/Amaz1/minetest/tree/ ... r-commands (I based it on https://github.com/minetest/minetest/pull/1952)

However, I don't really know C++, so my implementation of it is probably pretty rubbish!
 

User avatar
orwell
Member
 
Posts: 467
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
In-game: orwell

Re: Remove run command dialogue entirely

by orwell » Thu Dec 17, 2015 12:01

In my opinion, the chat dialogue (T) is completely useless too, since there is a console (F10) which offers much more functionality.

It is sad that you can't set the key for the console to T or any other letter, because if you type a T the console will close. I suggest the following changes:
1. If the key binding for "Console" is a typeable character, this binding won't close the console but instead type the character.
2. ESC closes the console WITHOUT opening the pause menu
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: Remove run command dialogue entirely

by everamzah » Thu Dec 17, 2015 12:59

I think a strong consideration should be made for the copy/paste functionality of the chat/run dialog, which doesn't seem to exist in the console.

+1 for bindable console key, so I can put it on tilde where it belongs. ;)
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: Remove run command dialogue entirely

by Dragonop » Thu Dec 17, 2015 16:29

+1
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Remove run command dialogue entirely

by kaadmy » Thu Dec 17, 2015 21:14

The console key's already bindable, but just without the UI.
You can do it through the config file.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
orwell
Member
 
Posts: 467
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
In-game: orwell

Re: Remove run command dialogue entirely

by orwell » Fri Dec 18, 2015 08:58

kaadmy wrote:The console key's already bindable, but just without the UI.
You can do it through the config file.

In 0.4.13 stable, it is still in the "change keys" dialog.
I just wanted to say that it's impossible to type in the character of the key you binded "console" to, because this closes the console instead of typing the character. F10 is not a character, so this is not a problem, but for 'T'(for example) this is a problem.
Try it out: Bind "console" to T and type the word minetest into the console.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Remove run command dialogue entirely

by kaadmy » Fri Dec 18, 2015 19:42

The way Quake's (Xonotic) console works is that pressing escape closes the console, and the grave key works too, but only if there's no text on the prompt.
Never paint white stripes on roads near Zebra crossings.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 17 guests

cron