Skip to content

Commit 1cddbb7

Browse files
committed
Examples: remove shebang line and pragmas
1 parent 350f147 commit 1cddbb7

File tree

19 files changed

+2
-31
lines changed

19 files changed

+2
-31
lines changed

examples/acsvars/source/acsVars.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncurses
21
import std.string: toStringz;
32
import deimos.ncurses.curses;
43

examples/attribmenu/source/attribMenu.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#!/usr/bin/rdmd -L-lmenu
21
import deimos.ncurses.menu;
32
import std.conv: to;
4-
pragma(lib, "menu");
3+
54
const int CTRLD = 4;
65

76
immutable char[][] choices = [ "Choice 1",

examples/chgat/source/chgat.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncurses
21
import std.string: toStringz;
32
import std.conv: to;
43
import deimos.ncurses.ncurses;

examples/form_attrib/source/form_attrib.d

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#!/usr/bin/rdmd
21
import deimos.ncurses.form;
32
import std.string;
4-
//TODO fix
5-
pragma(lib, "ncursesw");
6-
pragma(lib, "form");
73

84
void main()
95
{

examples/hellounicode/source/helloUnicode.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncursesw
21
/** hello_unicode.d
32
*
43
* This is a demonstration of Unicode output with ncurses in D.

examples/helloworld/source/helloWorld.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncursesw
21
/** hello_world.d
32
*
43
* I'm assuming that you are starting here, so I've included

examples/keycode/source/keyCode.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncurses
21
//Modified by: 1100110
32
import std.stdio: writefln;
43
import deimos.ncurses.ncurses;

examples/mousemenu/source/mouseMenu.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncursesw
21
import std.string: toStringz;
32
import deimos.ncurses.ncurses;
43

examples/otherborder/source/otherBorder.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncursesw
21
import std.string: toStringz;
32
import deimos.ncurses.ncurses;
43

examples/printbold/source/printBold.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/rdmd -L-lncursesw
21
/* This is rather interesting, it prints the bold version
32
* of whatever you type on the screen.
43
*

0 commit comments

Comments
 (0)