aarzilli
c7f11149d7
Fix typo in terminal/terminal.go
...
Fixes #589
2016-07-08 15:10:13 +02:00
Alessandro Arzilli
38127e5a00
terminal: helpful message in SIGINT handler ( #486 )
...
Our handling of SIGINT is confusing to people that expect SIGINT to be
delivered to inferior when they press ^C (see #483 for example).
Let's make an effort to point out what's happening and how one can send
SIGINT to inferior.
2016-04-24 10:27:25 -07:00
Yasuhiro Matsumoto
f6836cbcf1
terminal: Use go-colorable
...
Add fallback to display colors on Windows.
2016-04-18 12:49:14 -07:00
Derek Parker
522e7aa266
misc: minor message format cleanup
2016-03-17 15:35:10 -07:00
Hubert Krauze
37f124817d
dlv: Misc refactors
2016-03-17 15:32:30 -07:00
Alex Brainman
ff0ec8ce00
terminal: do not use escape codes on windows unless they are supported
2016-03-15 09:43:22 +01:00
aarzilli
5ba9bcd740
terminal: Mechanism to handle command prefixes
...
Implements extensible mechanism to specify which commands accept
prefixes (goroutine, frame, on) instead of hardcoding them in
a switch.
Implements #240
2016-02-28 13:38:05 +01:00
Derek Parker
16f30d0738
terminal: Refactor Term/FakeTerm
2016-02-27 15:02:55 -08:00
aarzilli
3ca1dd35ca
cmd/dlv: bugfix: trace disables terminal echo
...
Fixes #397
2016-02-04 08:55:38 +01:00
Luke Hoban
bddb712a6b
Add support for Windows.
...
Fixes #198 .
2016-01-20 19:06:31 -08:00
Derek Parker
0188dc2c8b
misc: cleanup and documentation
2016-01-10 02:10:51 -08:00
aarzilli
d8ede9b04f
terminal: Split arguments inside the command function
...
Print and set need to receive their argument unsplit to support
complex expressions
2015-11-04 12:28:48 +01:00
aarzilli
769dd59b4d
terminal: correct CSI sequence in (*Term).Println
...
<esc>[0m (reset) should be used instead of <esc>[37m (set foreground
color to white)
2015-10-05 14:01:01 +02:00
Derek Parker
c6b5609f77
all: Run go fmt across all files
2015-10-04 10:58:32 -07:00
aarzilli
eb2bc2a7ee
terminal: Implements init file and source command
...
The 'source' command reads the file specified as argument and executes
it as a list of delve commands.
Additionally a flag '--init' can be passed to delve specifying a file
containing a list of commands to execute on startup.
Issue #96
2015-10-04 10:32:38 -07:00
Derek Parker
80107dba8d
terminal: Refactor handling of dumb terminals
2015-09-29 22:42:06 -07:00
aarzilli
d81482c820
terminal: bugfix: Do not detach from/kill already exited process
2015-09-27 07:56:47 +02:00
Ilia Choly
e273949f37
Add basic tab completion to terminal
2015-09-12 12:46:09 -05:00
Tyler Bunnell
be2d9c3a84
Add config file and command alias config options.
2015-08-21 14:20:23 -05:00
Derek Parker
5ede17491e
Refactor terminal exit command
2015-07-29 18:19:06 -05:00
Joe Shaw
d275393488
Add bt alias for stack, quit and q for exit
...
Fixes #182
2015-07-29 18:04:23 -05:00
Derek Parker
28bc9d1ce7
Print 'exit' upon ctrl-d EOF
2015-07-11 09:28:29 -05:00
Derek Parker
8b68ae0bf5
Cleanup conditional
2015-07-07 14:58:01 -05:00
Derek Parker
c1e7f8c45a
Do not ask to kill process we spawned
2015-07-07 09:04:03 -05:00
Derek Parker
2f7612d4af
Add command to restart process
...
Fixes #95
2015-07-03 15:35:22 -05:00
Derek Parker
48bb398c4b
Properly report process exits
2015-06-21 21:11:47 -05:00
Derek Parker
bfca6114d4
Rename package proctl -> proc
2015-06-12 14:49:23 -05:00
Seth W. Klein
b5c3ee4012
Default to killing process on exit
...
Also adds support for capitalization variants of "no" to not kill
process.
2015-05-07 23:00:46 -04:00
Seth W. Klein
31658f37dc
Add default answer hint to kill process prompt
...
Also supports capitalized answers.
2015-05-07 22:16:39 -04:00
Derek Parker
794d5b1e19
Revert errors.New change
2015-05-04 17:31:13 -05:00
epipho
0358c174ad
Moving history file to .dlv config directory
2015-05-04 17:11:08 -05:00
Derek Parker
1ad66660a1
Prefer errors.New for unformatted errors
2015-05-01 16:27:29 -05:00
Derek Parker
0556eb925d
Code organization
2015-04-30 08:38:00 -05:00
Derek Parker
73a5c7c246
Fix: replay last command on empty string
2015-04-29 23:38:01 -05:00
Derek Parker
51a9aa71c6
Fix: Exit on EOF
2015-04-29 23:21:27 -05:00
Dan Mace
2954e03a20
Introduce client/server separation
...
Refactor to introduce client/server separation, including a typed
client API and a HTTP REST server implementation.
Refactor the terminal to be an API consumer.
2015-04-29 21:05:41 -05:00